linking to web page

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

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.
Ta
 
Hi Joe,
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.

It might be easier to use a web query. Click on Data > Import External
data > New Web Query and follow the wizard.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.BMSLtd.ie
 
Hi Joe,
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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top