Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Hyperlinks

  1. #1
    Board Regular
    Join Date
    Apr 2002
    Posts
    85
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Anyone know if it possible to run modules/macros using hyperlinks?

    Thanks,

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Christchurch New Zealand
    Posts
    1,030
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    no only if you were to link the hyperlink to another workbook and when that workbook opened it autoran a macro otherwise I'm pretty sure thats a no

    i think you can only attach macros to objects

  3. #3
    MrExcel MVP Ivan F Moala's Avatar
    Join Date
    Feb 2002
    Location
    Auckland, New Zealand
    Posts
    4,209
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-05-02 19:50, waderw wrote:
    Anyone know if it possible to run modules/macros using hyperlinks?

    Thanks,
    You can run a macro if from a hyperlink if
    you are using xl2000.
    Use the sheets FollowHyperlink Event
    In the sheet with the Hyperlinks you can do
    something like this;


    Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
    Select Case Target.Parent

    Case "Sheet3!A1"
    Call MyMacro1
    Case "Sheet3!A2"
    Call MyMacro2
    End Select
    End Sub


    The Target.Parent is the Name of the
    Hyperlink that you click.


    Kind Regards,
    Ivan F Moala From the City of Sails

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •