LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default linking to web page

Hi Joe,

Joe wrote:
I wish to link to a web page copy the information to the
clipboard and paste this as plain text onto an excel
sheet. Any help with achieving this or pointers to
articles would be appreciated.


As Stephen noted, you can use the Web Query feature to do this. If you are
looking for a programmatic solution, you can automate IE:

Public Function gsGetURLText(rsURL As String) As String
Dim ie As Object

Set ie = CreateObject("InternetExplorer.Application")

With ie
.Navigate rsURL
Do Until ie.ReadyState = 4 And Not ie.Busy
DoEvents
Loop
gsGetURLText = .Document.Body.InnerText
.Quit
End With

Set ie = Nothing
End Function

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]

 
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
Linking multiple databases to one summary page BK Excel Worksheet Functions 0 May 17th 10 08:40 PM
linking a value from another page or tab in a formula Reynolds Excel Worksheet Functions 1 November 29th 08 10:03 PM
Linking to a specific page in an excel workbook jgaard Excel Discussion (Misc queries) 2 August 1st 07 07:55 AM
Linking excel values to a web page. Peter Vousden Excel Discussion (Misc queries) 0 May 11th 05 03:36 PM
Linking to Worksheets on Excel -Saved Web Page Lawman Links and Linking in Excel 3 December 8th 04 08:13 AM


All times are GMT +1. The time now is 05:54 AM.

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

About Us

"It's about Microsoft Excel"