+ Reply to Thread
Results 1 to 4 of 4

Change hardcode to ....?

Hybrid View

  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" <[email protected]> wrote in message
    news:%[email protected]...
    > 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
    Stuart
    Guest

    Re: Change hardcode to ....?

    Got it, thanks.
    Regards.

    "Bob Phillips" <[email protected]> wrote in message
    news:[email protected]...
    > Is ws.Codename = "Sheet1" Then
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > "Stuart" <[email protected]> wrote in message
    > news:%[email protected]...
    >> 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
    Bob Phillips
    Guest

    Re: Change hardcode to ....?

    Sorry, that is If not Is

    --
    HTH

    Bob Phillips

    "Stuart" <[email protected]> wrote in message
    news:%[email protected]...
    > 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