+ Reply to Thread
Results 1 to 3 of 3

Changing sheet name with a macro

  1. #1
    Registered User
    Join Date
    01-11-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Question Changing sheet name with a macro

    Hi all,
    I'm trying to change the name of a worksheet to the data from a certain cell.
    Can it be done? if so, hoe can I do it?
    Thanks

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Changing sheet name with a macro

    One way: The code goes into a standard module. When run it will rename the worksheet to whatever value is in cell A1. Adjust to suit.

    Please Login or Register  to view this content.
    Or, to rename all worksheets to a name contained in cell A1.
    Please Login or Register  to view this content.
    Last edited by Palmetto; 01-12-2010 at 08:52 AM. Reason: Added code to rename all sheets
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    01-11-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Changing sheet name with a macro

    [SOLVED] Thanks, that solved the problem
    Last edited by nogagu; 01-15-2010 at 04:30 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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