PC Review


Reply
Thread Tools Rate Thread

How can a macro determine which hypertext link invoked it?

 
 
=?Utf-8?B?aG9mZmVyb28=?=
Guest
Posts: n/a
 
      23rd Jun 2005
I have several hypertext links in a shape's text that all invoke the same
macro. The macro can know which shape invoked it from the macro's one
argumnet. Can the macro determine which hypertext link invoked it?
THANKS!!
 
Reply With Quote
 
 
 
 
Bill Dilworth
Guest
Posts: n/a
 
      23rd Jun 2005
Dim RightHere as String

Sub RomeoRomeo(oSh As Shape)
RightHere = oSh.Name
ActivePresentation.FollowHyperlink oSh.Tags("PseudoLink")
End Sub

If you set the shape to fire the action setting macro RomeoRomeo it will
send you to the address stored in the shape tag "PseudoLink" with the string
RightHere telling you the name of the shape that was clicked to send it.

"hofferoo" <(E-Mail Removed)> wrote in message
news:6D2B1F47-3C41-4705-A0C9-(E-Mail Removed)...
>I have several hypertext links in a shape's text that all invoke the same
> macro. The macro can know which shape invoked it from the macro's one
> argumnet. Can the macro determine which hypertext link invoked it?
> THANKS!!



 
Reply With Quote
 
Shyam Pillai
Guest
Posts: n/a
 
      24th Jun 2005
Only shape level information is passed to the macro. I cannot think of
anyway to arrive at the textlink within the shape which was responsible for
the macro being fired without resorting to creating invisible shapes over
the text areas.


--
Regards,
Shyam Pillai

Handout Wizard: http://skp.mvps.org/how




"hofferoo" <(E-Mail Removed)> wrote in message
news:6D2B1F47-3C41-4705-A0C9-(E-Mail Removed)...
>I have several hypertext links in a shape's text that all invoke the same
> macro. The macro can know which shape invoked it from the macro's one
> argumnet. Can the macro determine which hypertext link invoked it?
> THANKS!!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hypertext link dhstein Microsoft Excel Misc 1 9th Jul 2009 01:35 AM
How do I specify a window in a hypertext link? scott_shuster@yahoo.com Microsoft Outlook Discussion 0 6th May 2005 09:49 PM
hypertext link not accessable =?Utf-8?B?ZHJ4cmF5?= Windows XP Security 3 2nd May 2005 07:18 AM
Hypertext Link to Web in Field BLG Microsoft Access Database Table Design 0 25th Jan 2005 08:27 PM
Determine contol context menu was invoked fo John Baro Microsoft C# .NET 0 29th Jul 2003 12:43 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:04 PM.