+ Reply to Thread
Results 1 to 4 of 4

Change hardcode to ....?

  1. #1
    Stuart
    Guest

    Change hardcode to ....?

    I do not wish to stop a user changing the tab name of a particular sheet,
    but if they do, then I need to keep track of it.
    Say the tabname is "Temp" and the codename is Sheet1, as an example, how
    would I amend the following, please?

    If ws.Name = "Temp" Then

    Regards.



  2. #2
    Bob Phillips
    Guest

    Re: Change hardcode to ....?

    Is ws.Codename = "Sheet1" Then

    --
    HTH

    Bob Phillips

    "Stuart" <sgbooth@totalise.co.uk> wrote in message
    news:%23hRZ6AaTFHA.2392@TK2MSFTNGP10.phx.gbl...
    > I do not wish to stop a user changing the tab name of a particular sheet,
    > but if they do, then I need to keep track of it.
    > Say the tabname is "Temp" and the codename is Sheet1, as an example, how
    > would I amend the following, please?
    >
    > If ws.Name = "Temp" Then
    >
    > Regards.
    >
    >




  3. #3
    Bob Phillips
    Guest

    Re: Change hardcode to ....?

    Sorry, that is If not Is

    --
    HTH

    Bob Phillips

    "Stuart" <sgbooth@totalise.co.uk> wrote in message
    news:%23hRZ6AaTFHA.2392@TK2MSFTNGP10.phx.gbl...
    > I do not wish to stop a user changing the tab name of a particular sheet,
    > but if they do, then I need to keep track of it.
    > Say the tabname is "Temp" and the codename is Sheet1, as an example, how
    > would I amend the following, please?
    >
    > If ws.Name = "Temp" Then
    >
    > Regards.
    >
    >




  4. #4
    Stuart
    Guest

    Re: Change hardcode to ....?

    Got it, thanks.
    Regards.

    "Bob Phillips" <phillips@tiscali.co.uk> wrote in message
    news:uvTMgJaTFHA.2568@TK2MSFTNGP10.phx.gbl...
    > Is ws.Codename = "Sheet1" Then
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > "Stuart" <sgbooth@totalise.co.uk> wrote in message
    > news:%23hRZ6AaTFHA.2392@TK2MSFTNGP10.phx.gbl...
    >> I do not wish to stop a user changing the tab name of a particular sheet,
    >> but if they do, then I need to keep track of it.
    >> Say the tabname is "Temp" and the codename is Sheet1, as an example, how
    >> would I amend the following, please?
    >>
    >> If ws.Name = "Temp" Then
    >>
    >> Regards.
    >>
    >>

    >
    >




+ 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