Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 249
Default linking an icon to a changing adjacent hyperlink

I would like to link the pressing of an icon to the activation of an adjacent
hyperlink address.

The address changes, so I do not want to manually set the hyperlink in the
usual way.

I want the icon to automatically link to the web address that shows at that
time
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default linking an icon to a changing adjacent hyperlink

Maybe you can use a macro that's assigned to the shape.

I used the cell that is to the left of the topleftcell of that shape.

This is the macro I used:

Option Explicit
Sub testme()
Dim myShape As Shape
Set myShape = ActiveSheet.Shapes(Application.Caller)
ThisWorkbook.FollowHyperlink myShape.TopLeftCell.Offset(0, -1).Value
End Sub




Roger on Excel wrote:

I would like to link the pressing of an icon to the activation of an adjacent
hyperlink address.

The address changes, so I do not want to manually set the hyperlink in the
usual way.

I want the icon to automatically link to the web address that shows at that
time


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 249
Default linking an icon to a changing adjacent hyperlink

Excellent - thanks alot - this works perfectly!

"Roger on Excel" wrote:

I would like to link the pressing of an icon to the activation of an adjacent
hyperlink address.

The address changes, so I do not want to manually set the hyperlink in the
usual way.

I want the icon to automatically link to the web address that shows at that
time

Reply
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
Hyperlink in nested formula not linking KarenF Excel Discussion (Misc queries) 7 August 10th 06 10:43 PM
Linking changing data Beverley Gill Excel Discussion (Misc queries) 0 August 11th 05 10:34 PM
Changing File Icon jose luis Excel Discussion (Misc queries) 6 August 8th 05 07:54 PM
Hyperlink changing row tess Excel Worksheet Functions 1 June 11th 05 03:07 PM
Linking a repeating pattern of non-adjacent cells wdg006 Excel Discussion (Misc queries) 2 December 14th 04 05:59 PM


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