+ Reply to Thread
Results 1 to 3 of 3

cell display sheet name

Hybrid View

  1. #1
    dingy101
    Guest

    cell display sheet name

    Is it possible to have a cell auto fill with the sheet name.

    I want to use the sheet name in formulas across multiple sheets.

    Thanks
    Gary

  2. #2
    Bob Phillips
    Guest

    Re: cell display sheet name

    See http://www.xldynamic.com/source/xld.xlFAQ0002.html

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "dingy101" <dingy101@discussions.microsoft.com> wrote in message
    news:6807CA66-B47E-4889-9D24-01D7F16A9504@microsoft.com...
    > Is it possible to have a cell auto fill with the sheet name.
    >
    > I want to use the sheet name in formulas across multiple sheets.
    >
    > Thanks
    > Gary




  3. #3
    Bernard Liengme
    Guest

    Re: cell display sheet name

    Here is a UDF that does that
    Function mysheet()
    mysheet = Application.ActiveSheet.Name
    End Function

    Open VB Editor with ALT+F11
    In the project window (generally to left) select the worksheet - look for
    VBAProject(YourFIleName)
    Use Insert|Module
    Copy or retype my function
    In Excel enter =mysheet()
    happy new year

    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "dingy101" <dingy101@discussions.microsoft.com> wrote in message
    news:6807CA66-B47E-4889-9D24-01D7F16A9504@microsoft.com...
    > Is it possible to have a cell auto fill with the sheet name.
    >
    > I want to use the sheet name in formulas across multiple sheets.
    >
    > Thanks
    > Gary




+ 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