LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Help bringing in hyperlink into Excel from Web

Hello,

I am bringing in data from the web using a macro (see below). The data from
the
webpage gets imported correctly, however in an internet browser, one of the
columns has text with an underlying hyperlink, and I am hoping someone can
help
me bring that hyperlink instead of the text into Excel.

For example, http://finance.yahoo.com/q?s=AAPL&ql=1 has links to many pages
including "Order Book", but I would want
"http://finance.yahoo.com/q/ecn?s=AAPL+Order+Book" to be brought into
Excel.

Thank you so much!!

My macro:

With ActiveSheet.QueryTables.Add(Connection:= _
"URL;https://www.XYZ....", _
Destination:=Range("$A$1"))
.Name = "Import"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlEntirePage
.WebFormatting = xlWebFormattingNone
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With
 
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
Bringing Data From Access To Excel Alistaire Green[_2_] Excel Worksheet Functions 8 July 30th 07 09:44 PM
Bringing the Add-in to excel...? deostroll Excel Programming 1 June 1st 07 05:45 PM
Bringing in a Union Query with excel? S Davis Excel Worksheet Functions 3 August 24th 06 06:52 PM
Bringing Word doc into Excel Gary Excel Discussion (Misc queries) 1 March 10th 05 08:19 PM
Bringing Excel to the front Scott Holmes Excel Programming 3 August 26th 03 06:22 AM


All times are GMT +1. The time now is 10:37 PM.

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"