+ Reply to Thread
Results 1 to 3 of 3

Command for present sheet

  1. #1
    Registered User
    Join Date
    10-07-2005
    Posts
    48

    Command for present sheet

    Hi,

    I need to know the command to record a sheet to a variable. So i can run a macro which will return to the same sheet it started it.

    something like:

    a = presentSheet.Value

    Thx a lot

  2. #2
    Norman Jones
    Guest

    Re: Command for present sheet

    Hi Kanuvas,

    Try:

    Dim Sh as Worksheet

    Set Sh = ActiveSheet


    ---
    Regards,
    Norman



    "kanuvas" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi,
    >
    > I need to know the command to record a sheet to a variable. So i can
    > run a macro which will return to the same sheet it started it.
    >
    > something like:
    >
    > a = presentSheet.Value
    >
    > Thx a lot
    >
    >
    > --
    > kanuvas
    > ------------------------------------------------------------------------
    > kanuvas's Profile:
    > http://www.excelforum.com/member.php...o&userid=27911
    > View this thread: http://www.excelforum.com/showthread...hreadid=484816
    >




  3. #3
    Registered User
    Join Date
    10-07-2005
    Posts
    48

    How do you call it?

    Thank you for the quick response

    Using that how do i then select that sheet

    something like:

    sh.select

+ 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