+ Reply to Thread
Results 1 to 3 of 3

Navigate to sheet via VBA

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    42

    Navigate to sheet via VBA

    Hello,

    I have this nifty little VBA code that changes the to an active chart when i select a cell.

    However, i am trying to adapt it so that it will allow sheet selection too.

    I.e. when i type inside the cell and click it it takes me to the chart (the worksheet has about 30+ charts), but i want it also to send me to a sheet when i select the cell, i did try adapting it but failed with the if/s?

    Can anyone help?
    --
    Please Login or Register  to view this content.
    Moderator's Note: Please use code tags when displaying code. Forum Rule #3
    Last edited by jeffreybrown; 09-29-2012 at 05:23 PM.

  2. #2
    Registered User
    Join Date
    09-27-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2000
    Posts
    14

    Re: Navigate to sheet via VBA

    I have a macro that takes me to a specific sheet in a different workbook based on the value of a cell.

    Please Login or Register  to view this content.
    This is dumbed down code. The real code also copies and paste several cells, but I think this is sort of what you're getting at.

  3. #3
    Registered User
    Join Date
    06-07-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Navigate to sheet via VBA

    Thanks MrMcLee

    I cant seem to adapt this to my code already.
    What i was ideally looking for was some advice on how to adapt it, and include another if argument that on error i.e. when it cant find the chart
    it looks for the worksheet based on the value of cell I2?

+ 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