+ Reply to Thread
Results 1 to 5 of 5

How can you open a tab(Sheet5) by clicking on particular cell say.

  1. #1
    Suren Suthar
    Guest

    How can you open a tab(Sheet5) by clicking on particular cell say.

    I made index on sheet 1. If my cell a2 has text INFO and my shhet 5 has the
    details of INFO, what do I need to program so when I click on A2, it opens up
    sheet 5 as soon as the clicking is done? Also as an alternate, I can store
    iINFO details starting on cell b62. Can you go to b62 by clicking on a2?

  2. #2
    Chip
    Guest

    Re: How can you open a tab(Sheet5) by clicking on particular cell say.

    So want when someone clicks on cell A2, that it will take the user to
    Sheet5 Cell B62?


  3. #3
    Suren Suthar
    Guest

    Re: How can you open a tab(Sheet5) by clicking on particular cell



    "Chip" wrote:

    > So want when someone clicks on cell A2, that it will take the user to
    > Sheet5 Cell B62?
    >
    > Actually sheet 5 cell a1 or shhet 1, cell b62


  4. #4
    Registered User
    Join Date
    11-11-2004
    Location
    Serbia & Montenegro
    Posts
    6
    1. To activate specific sheet by clicking on cell put this code in sheet where is cell to click


    Private Sub Worksheet_SelectionChange(ByVal Target As Range)


    If Target.Column = 1 And Target.Row = 1 Then 'observed cell is (1,1) - A1

    Worksheets("sheet2").Activate 'sheet2 is name of sheet that will be activated

    End If

    End Sub

    2. to select specific cell by clicking on some cell (in same sheet) put this code in sheet

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)

    If Target.Column = 1 And Target.Row = 1 Then 'observed cell is (1,1) - A1

    Cells(4, 8).Select 'target cell is (4,8) - H8

    End If

    End Sub

  5. #5
    plcarr@gmail.com
    Guest

    Re: How can you open a tab(Sheet5) by clicking on particular cell say.

    Instead of writing code it would be easier to insert a hyperlink to the
    required location


+ 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