+ Reply to Thread
Results 1 to 6 of 6

Macro to unhide row with hyperlink

  1. #1
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Macro to unhide row with hyperlink

    Hello!

    Im trying to use an hyperlink to run a macro that after that unhides a row from a table.
    The idea is that each time I click the hyperlink, the macro runs, unhides the next row and copy again in the cell bellow they hyperlink to run again that macro.

    I have tried it but can only do it for one chance cause when it copies down the hyperlink it doesnt work no more... I have attached the file so that you can better have a look to what Im looking for.

    Thanks for the help!

    Regards,New Line.zip

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Macro to unhide row with hyperlink

    Try adding an extra line to reset the target of the hyperlink.

    Please Login or Register  to view this content.
    Martin

  3. #3
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Re: Macro to unhide row with hyperlink

    Thanks!! It works good, but just one only thing more I forgot to say:

    I want this code to work only in rows 8 till 17.
    Another hyperlink with the same macro will run from rows 18 till 27.
    Etc...

    Thanks again, regards

    pezalmendra

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Macro to unhide row with hyperlink

    Try

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    07-22-2012
    Location
    Spain
    MS-Off Ver
    Excel 2008
    Posts
    304

    Re: Macro to unhide row with hyperlink

    Brilliant!

    Thanks

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Macro to unhide row with hyperlink

    Hello pezalmendra, and welcome to the forum.

    If you are satisfied with the solution(s) provided, please remember to mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1