Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / November 2007

Tip: Looking for answers? Try searching our database.

Underlying Hyperlinks in Excel Using VBA

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tam - 05 Nov 2007 21:41 GMT
I want to get the hyperlink from an Excel Sheet. My Excel Sheet has 100 rows
and the column N has the hyperlinks.. I am trying to extract all the
hyperlink in a loop .. using the following method...

RowCounter = 2
While RowCounter <= Row Count
Ranges = "N"&RowCounter
Address = xlWorkSheet.Range(Ranges).Hyperlinks(1).Address
Wend

But this returns me an erro rsubscript out of Range..

If I use this formula on Cell A1 it works.. if I use it on anyother Cells
like N2, N3 or any other combination it throws the error.

Is there any other change I need to do in the Method to get it to work.
Tam - 05 Nov 2007 21:43 GMT
Sorry, this question should have gone in office my mistake.

> I want to get the hyperlink from an Excel Sheet. My Excel Sheet has 100 rows
> and the column N has the hyperlinks.. I am trying to extract all the
[quoted text clipped - 12 lines]
>
> Is there any other change I need to do in the Method to get it to work.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.