+ Reply to Thread
Results 1 to 3 of 3

macro to name worksheets

  1. #1
    Registered User
    Join Date
    06-17-2009
    Location
    Durham, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    macro to name worksheets

    I'm developing a worksheet where there's a global report on 160 records, but also each record must have it's own report. How do I get the name of the worksheet for each record to match the name of the record.

    eg for a survey - respondent 145 is called Joe Bloggs - I would like his worksheet to be named Joe Bloggs automatically when I create his separate sheet - as for the other 159 respondents in the group.

    I have recorded a macro to create the sheet and copy in the common data which applies to each individual.

    Many thanks,

    Julie

  2. #2
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193

    Re: macro to name worksheets

    Try something like this:

    Please Login or Register  to view this content.
    Of course, you're gonna have to change the worksheet name to the one you want.

    I hope this helps!
    starryknight64

  3. #3
    Registered User
    Join Date
    06-17-2009
    Location
    Durham, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: macro to name worksheets

    Quote Originally Posted by Eastshaw View Post
    I'm developing a worksheet where there's a global report on 160 records, but also each record must have it's own report. How do I get the name of the worksheet for each record to match the name of the record.

    eg for a survey - respondent 145 is called Joe Bloggs - I would like his worksheet to be named Joe Bloggs automatically when I create his separate sheet - as for the other 159 respondents in the group.

    I have recorded a macro to create the sheet and copy in the common data which applies to each individual.

    Many thanks,

    Julie
    Will do - many thanks!

    Jules

+ 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