PC Review


Reply
Thread Tools Rate Thread

Converting PDF or HTML to Excel

 
 
JPalmer
Guest
Posts: n/a
 
      16th Apr 2010
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 With Quote
 
 
 
 
JLatham
Guest
Posts: n/a
 
      16th Apr 2010
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!
>
>

 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      16th Apr 2010
First Link>right click>export to msexcel
after imported use text to columns>comma
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
(E-Mail Removed)
"JPalmer" <(E-Mail Removed)> wrote in message
news:ECBE06CE-ACDA-4256-8DF1-(E-Mail Removed)...
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Excel to HTML Christopher Naveen Microsoft Excel Worksheet Functions 0 14th May 2010 12:13 PM
Converting Excel to html file Vadamalai. Microsoft Excel Programming 1 29th Jun 2009 03:20 PM
Re: Converting Excel to html file RB Smissaert Microsoft Excel Programming 0 29th Jun 2009 12:39 PM
Converting Excel File to html =?Utf-8?B?a2Rhc2FyYXRoYQ==?= Microsoft Excel Misc 1 1st Aug 2007 04:52 PM
Converting HTML to Excel number jhetta Microsoft Excel Worksheet Functions 4 26th May 2004 05:45 PM


Features
 

Advertising
 

Newsgroups
 


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