+ Reply to Thread
Results 1 to 2 of 2

Auto Open sheet function

  1. #1
    Forum Contributor
    Join Date
    09-02-2005
    Posts
    146

    Auto Open sheet function

    I'm curious, is it possible to set a program to run each time a sheet is accessed? I imagine it would be similiar to:

    Private Sub Workbook_Open()
    End Sub

    Perhaps:

    Private Sub WorkSheet("name")_select()
    End Sub

    etc...

    Is this a do able task?

  2. #2
    Rowan
    Guest

    RE: Auto Open sheet function

    Right click the sheet tab in question and select View Code. Then:

    Private Sub Worksheet_Activate()
    'your code here
    End Sub

    Hope this helps
    Rowan

    "wilro85" wrote:

    >
    > I'm curious, is it possible to set a program to run each time a sheet is
    > accessed? I imagine it would be similiar to:
    >
    > Private Sub Workbook_Open()
    > End Sub
    >
    > Perhaps:
    >
    > Private Sub WorkSheet("name")_select()
    > End Sub
    >
    > etc...
    >
    > Is this a do able task?
    >
    >
    > --
    > wilro85
    > ------------------------------------------------------------------------
    > wilro85's Profile: http://www.excelforum.com/member.php...o&userid=26935
    > View this thread: http://www.excelforum.com/showthread...hreadid=451397
    >
    >


+ 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