+ Reply to Thread
Results 1 to 8 of 8

Hyperlink To Open Workbook and Particular Tab (Sheet)..Possible?

  1. #1
    Forum Contributor
    Join Date
    07-02-2006
    Location
    Love City, USA
    Posts
    183

    Question Hyperlink To Open Workbook and Particular Tab (Sheet)..Possible?

    Hello,

    Is it Possible to use a hyperlink command to open a workbook and
    a particular tab (sheet) within that workbook, or does it have to be in vba
    coding?

    If either is true, could you provide the coding for me... Thanks For Help On this..

  2. #2
    Forum Contributor Stuie's Avatar
    Join Date
    09-17-2006
    Location
    Suffolk, UK
    MS-Off Ver
    Excel 2003/2007
    Posts
    432
    you could make a button to click and it would open the workbook... will it always be the same workbook??

    if it will always be the same workbook then the folling code should work,

    Please Login or Register  to view this content.
    Last edited by Stuie; 03-14-2007 at 09:08 AM.

  3. #3
    Forum Contributor
    Join Date
    07-02-2006
    Location
    Love City, USA
    Posts
    183
    Hi Stuie, and thanks for the reply.

    Yes, In this case it will be one particular workbook "SuperLocator", that will
    be used. But it will have Multiple Tabs within it that I will want to access.

    I'll try your code and see if I can get it to work.

    I'm assuming that it definately have to be a Macro in order to do this and
    not a generic hyperlink command?

    Thanks for the response...

  4. #4
    Forum Contributor Stuie's Avatar
    Join Date
    09-17-2006
    Location
    Suffolk, UK
    MS-Off Ver
    Excel 2003/2007
    Posts
    432
    well im no expert with hyperlinks but as far as im aware that a hyperlink will open the workbook and thats all im sure theres a way that you could open tabs but im not sure on that im afraid.

    But i do know you can make a button and paste that code in and all should work when you filled in the red text.

    Oh and i miss a (:) in my code, i have edited the code above to work
    Last edited by Stuie; 03-14-2007 at 09:08 AM.

  5. #5
    Forum Contributor
    Join Date
    07-02-2006
    Location
    Love City, USA
    Posts
    183
    I see,,

    Stuie, give me a full example of your code above.. I'm amature also on this
    and just can't seem to get your code to function correctly.. I think I'm
    missing that Sub something and end sub. It doesnt show up on the Macro.

    Thanks for your help..

  6. #6
    Forum Contributor
    Join Date
    07-02-2006
    Location
    Love City, USA
    Posts
    183
    I see we crossed paths posting

    this is what I have using your code, but it's not running...

    Workbooks.Open Filename:= _
    "c:\superlocator.xls"

    Sheets ("electronics")


    thanks..

  7. #7
    Forum Contributor Stuie's Avatar
    Join Date
    09-17-2006
    Location
    Suffolk, UK
    MS-Off Ver
    Excel 2003/2007
    Posts
    432
    the macro code would be,

    Please Login or Register  to view this content.
    and then you can make a button on your worksheet to call this code, eg,

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    07-02-2006
    Location
    Love City, USA
    Posts
    183

    Thumbs up Right On!

    Thanks Very Much Stuie, You were very Helpful..

    I can build on it from here... I Appreciate Your Help..

+ 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