+ Reply to Thread
Results 1 to 3 of 3

Select Case for Active Worksheet syntax.

  1. #1
    Forum Contributor
    Join Date
    06-23-2005
    Posts
    253

    Select Case for Active Worksheet syntax.

    I need help arriving at Select Case for active worksheet syntax. For example

    Select Case Worksheet.Activated
    Case "Sheet2"
    (code goes here)
    PrintChecks"
    Case "Sheet3"
    (code goes here)
    End Select

    Thanks a lot. mikeburg

  2. #2
    Norman Jones
    Guest

    Re: Select Case for Active Worksheet syntax.

    Hi Mike,

    Try:

    Select Case ActiveSheet.Name


    ---
    Regards,
    Norman



    "mikeburg" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I need help arriving at Select Case for active worksheet syntax. For
    > example
    >
    > Select Case Worksheet.Activated
    > Case "Sheet2"
    > (code goes here)
    > PrintChecks"
    > Case "Sheet3"
    > (code goes here)
    > End Select
    >
    > Thanks a lot. mikeburg
    >
    >
    > --
    > mikeburg
    > ------------------------------------------------------------------------
    > mikeburg's Profile:
    > http://www.excelforum.com/member.php...o&userid=24581
    > View this thread: http://www.excelforum.com/showthread...hreadid=474294
    >




  3. #3
    Forum Contributor
    Join Date
    06-23-2005
    Posts
    253
    thank you mikeburg

+ 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