+ Reply to Thread
Results 1 to 2 of 2

Buttons to link to a hidden sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    09-30-2005
    Posts
    6

    Buttons to link to a hidden sheet

    Hi

    I have a hidden datasheet on Excel. I want a top sheet that links to this hidden sheet with buttons.

    When a button on the top sheet is clicked, the hidden sheet automatically updates.

    So for example a button on the top sheet is 'Number of queries' and someone clicks it once, the hidden page will have a 'total number of queries' that updates when the button on the top sheet is clicked.

    Does anyone know how to do this??

    Thanks

    Tilly

  2. #2
    Forum Contributor
    Join Date
    02-15-2005
    Location
    Blackpool, UK
    Posts
    137
    Hi Tilly,

    when you draw you button on the top sheet it asks you to assing a macro, like "Button1_click", click NEW

    In the VBA editor window that thn open copy in the following:

    Worksheets("Sheet2").Range("B1").Value = _
        Worksheets("Sheet2").Range("B1").Value + 1
    You will need to replace "Sheet2" with the name of your hidden sheet.
    You will also need to replace "B1" with the cell address of the cell you want the count.

    HTH

    Art

+ 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