A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Converting PDF or HTML to Excel



 
 
Thread Tools Display Modes
  #1  
Old April 16th, 2010, 04:24 PM posted to microsoft.public.excel.worksheet.functions
JPalmer
external usenet poster
 
Posts: 1
Default Converting PDF or HTML to Excel

Is there a way to take the information in this link:
http://204.65.203.5/public/441280noadd.pdp

and convert it into an excel spreadsheet that separates the information
according to name, zip code, etc?

This is the main website with numerous listings. The file is in PDF too.
http://www.ethics.state.tx.us/php/fi...t=00054943jcoh

Thank you!


  #2  
Old April 16th, 2010, 05:53 PM posted to microsoft.public.excel.worksheet.functions
JLatham
external usenet poster
 
Posts: 1,896
Default Converting PDF or HTML to Excel

Using the first link, I copied the displayed text to Notepad and saved it as
a .txt file. Then I opened Excel and used Data -- Import External Data with
settings to look for .txt, .dat & .csv type files and made sure the data
separator was a comma and it imported into Excel very nicely.

"JPalmer" wrote:

Is there a way to take the information in this link:
http://204.65.203.5/public/441280noadd.pdp

and convert it into an excel spreadsheet that separates the information
according to name, zip code, etc?

This is the main website with numerous listings. The file is in PDF too.
http://www.ethics.state.tx.us/php/fi...t=00054943jcoh

Thank you!


  #3  
Old April 16th, 2010, 08:26 PM posted to microsoft.public.excel.worksheet.functions
Don Guillett[_2_]
external usenet poster
 
Posts: 607
Default Converting PDF or HTML to Excel

First Linkright clickexport to msexcel
after imported use text to columnscomma
or just use this macro to do it all for you
Sub GetExternalDataSAS()
ActiveWorkbook.Worksheets.Add
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://204.65.203.5/public/441280noadd.pdp", _
Destination:=Range("A1"))
.WebSelectionType = xlEntirePage
.Refresh BackgroundQuery:=False
End With
Columns(1).TextToColumns Destination:=Range("A1"), _
DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _
ConsecutiveDelimiter:=False, Tab:=True, Semicolon:=False, _
Comma:=False, Space:=False, Other:=True, OtherChar:=","
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"JPalmer" wrote in message
...
Is there a way to take the information in this link:
http://204.65.203.5/public/441280noadd.pdp

and convert it into an excel spreadsheet that separates the information
according to name, zip code, etc?

This is the main website with numerous listings. The file is in PDF too.
http://www.ethics.state.tx.us/php/fi...t=00054943jcoh

Thank you!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.