Results 1 to 2 of 2

Tab Name Matches Cell

Threaded View

  1. #1
    Registered User
    Join Date
    05-01-2008
    Posts
    1

    Tab Name Matches Cell

    I found the below script on this forum for "How to get a tab name to match the data in cell C6". PROBLEM IS: for some reason, it is applying the Tab name to another worksheet instead of the selected worksheet into which I placed the code - it appears to be applying it to the First worksheet, instead of the selected worksheet. How do I tell it to apply the name to the worksheet in which I placed the code?

    Private Sub Worksheet_Activate()
    Sheets(1).Name = Range("C6").Value
    End Sub
    Last edited by rylo; 05-01-2008 at 08:55 PM.

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