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: 71
Default Hyperlink Construction and Execution

I built a hyperlink in a cell that works fine when I click on the cell that
looks like this

=HYPERLINK(CONCATENATE("http://",'Toolkit Setup'!$A$16,"/",'Toolkit
Setup'!$M$12),"Agent "&'Toolkit Setup'!$M$12&" WEB Site")

In a macro I am trying to execute this but it fails with a subscript out of
range on the Selection.Hyperlinks(1).Follow

' If no Agent web site then Alert and Exit
If [A17] < "" Then
Range("A17").Select
Selection.Hyperlinks(1).Follow
GoTo Exit_1
Else
MsgBox "Agent WEB Site Missing From Toolkit Setup", , "Agent WEB Site
Access"
End If
GoTo Exit_1
 
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
formula construction Robert-the-Bruce New Users to Excel 7 June 9th 07 08:12 PM
Array Construction M Moore Excel Discussion (Misc queries) 1 July 23rd 06 11:28 PM
Construction Templates denhar Excel Discussion (Misc queries) 0 June 15th 05 05:59 PM
formula construction w/ vba Gixxer_J_97[_2_] Excel Programming 5 June 7th 05 02:13 PM
formula construction Gixxer_J_97[_2_] Excel Programming 2 February 15th 05 02:43 PM


All times are GMT +1. The time now is 01:39 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"