+ Reply to Thread
Results 1 to 6 of 6

How to create local names (vs. global names)

  1. #1
    Thomas Staudte
    Guest

    How to create local names (vs. global names)

    Hello NG,

    that might be a simple problem, but I have so far not been able to find a
    solution myself.

    Whenever I define a name in a worksheet it becomes a global name. When I
    define the same name in another worksheet the first one is being replaced.
    How can I make names local to an individual worksheet? I want to have the
    same name defined on every worksheet so that I can copy formulas easily between
    worksheets.

    So far I have only managed to create local names by duplicating entire worksheets,
    where the names were defined beforehand, which converted the global into
    local names. While this is fine for an initial set-up of a workbook, there
    must surely be also a way to define local names later, too, isn't it?

    Thank you very much for any hints.

    Best regards,

    Thomas Staudte

    Staudte EDV Beratung
    www.staudte-edv.de
    Germany



  2. #2
    Pete_UK
    Guest

    Re: How to create local names (vs. global names)

    When you create the name (with Insert | Name | Create) put the sheet
    name in front of the name you wish to use, eg "Sheet1!name" and when
    you refer to the names always use the sheet name to ensure you refer to
    the correct named range.

    Hope this helps.

    Pete


  3. #3
    Bob Phillips
    Guest

    Re: How to create local names (vs. global names)

    Ensure that the worksheet that you want the name to apply to is active and
    then just prefix the name by the sheet name, such as

    Sheet1!myName

    The refersto value is set as normal.

    When referring to that name from some other worksheet, again, prefix by the
    sheet name.

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "Thomas Staudte" <ts_at_staudte-edv_de> wrote in message
    news:[email protected]...
    > Hello NG,
    >
    > that might be a simple problem, but I have so far not been able to find a
    > solution myself.
    >
    > Whenever I define a name in a worksheet it becomes a global name. When I
    > define the same name in another worksheet the first one is being replaced.
    > How can I make names local to an individual worksheet? I want to have the
    > same name defined on every worksheet so that I can copy formulas easily

    between
    > worksheets.
    >
    > So far I have only managed to create local names by duplicating entire

    worksheets,
    > where the names were defined beforehand, which converted the global into
    > local names. While this is fine for an initial set-up of a workbook, there
    > must surely be also a way to define local names later, too, isn't it?
    >
    > Thank you very much for any hints.
    >
    > Best regards,
    >
    > Thomas Staudte
    >
    > Staudte EDV Beratung
    > www.staudte-edv.de
    > Germany
    >
    >




  4. #4
    Thomas Staudte
    Guest

    Re: How to create local names (vs. global names)

    Pete and Bob,

    thank you _very_ much for this _extremely_ fast and helpful response!

    Best regards,

    Thomas Staudte



  5. #5
    Dave Peterson
    Guest

    Re: How to create local names (vs. global names)

    You may want to get Jan Karel Pieterse's (with Charles Williams and Matthew
    Henson) Name Manager:

    You can find it at:
    NameManager.Zip from http://www.oaltd.co.uk/mvp

    It'll make working with names much, much easier.

    Thomas Staudte wrote:
    >
    > Hello NG,
    >
    > that might be a simple problem, but I have so far not been able to find a
    > solution myself.
    >
    > Whenever I define a name in a worksheet it becomes a global name. When I
    > define the same name in another worksheet the first one is being replaced.
    > How can I make names local to an individual worksheet? I want to have the
    > same name defined on every worksheet so that I can copy formulas easily between
    > worksheets.
    >
    > So far I have only managed to create local names by duplicating entire worksheets,
    > where the names were defined beforehand, which converted the global into
    > local names. While this is fine for an initial set-up of a workbook, there
    > must surely be also a way to define local names later, too, isn't it?
    >
    > Thank you very much for any hints.
    >
    > Best regards,
    >
    > Thomas Staudte
    >
    > Staudte EDV Beratung
    > www.staudte-edv.de
    > Germany


    --

    Dave Peterson

  6. #6
    Pete_UK
    Guest

    Re: How to create local names (vs. global names)

    Thanks for the feedback.

    Pete


+ 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