Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
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!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop excel from processing HTML? IE paste raw html. nick Excel Discussion (Misc queries) 2 April 21st 23 05:12 PM
Converting excel spread sheet to html then to web page Donka34 New Users to Excel 0 July 30th 08 06:37 AM
converting .html to regen lost .xls file dr nemo Excel Worksheet Functions 0 January 14th 08 06:02 PM
Converting Excel File to html kdasaratha Excel Discussion (Misc queries) 1 August 1st 07 04:52 PM
It is a beautiful day - And I need help converting cell to html tryin2makeit2 Excel Discussion (Misc queries) 0 January 8th 06 06:41 PM


All times are GMT +1. The time now is 07:26 AM.

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

About Us

"It's about Microsoft Excel"