+ Reply to Thread
Results 1 to 8 of 8

Create sheets based on a column of master sheet

  1. #1
    Registered User
    Join Date
    02-06-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    4

    Create sheets based on a column of master sheet

    In my master sheet there are two columns. in one column is the customer name (like Allianze Consultant and services) and in the other column is the currency (like USD, INR, TWD, etc).

    I want create the number of blank sheets as per the rows of customer names. the sheets should be renamed as per the first two letters of the customer with the currency (like AC - USD, AC - INR, etc, as per above given example).

    The format of master sheet is below:

    Column A Column B
    Allianze Cons USD
    Allianze Cons INR

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Create sheets based on a column of master sheet

    Attach an example workbook.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    02-06-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Create sheets based on a column of master sheet

    attached the sample
    Attached Files Attached Files

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Create sheets based on a column of master sheet

    Try this code
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    Re: Create sheets based on a column of master sheet

    HI
    The macro in the attached file meets your requirements
    Ravi
    Attached Files Attached Files
    Last edited by ravishankar; 02-07-2009 at 01:16 PM.

  6. #6
    Registered User
    Join Date
    02-06-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Create sheets based on a column of master sheet

    Hi ...

    please advise for if the data is changed from columns A & B to Coulmns D & E (in the attached file), also if the row is changed from 1 to 8, where to ammend the macro to make it work properly??

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Create sheets based on a column of master sheet

    You have two answers, who is your reply addressed to? The code I posted does what you asked, creates a sheet for each entry using the two first letters & the currency. It will only create sheets if the name has not been used.

  8. #8
    Registered User
    Join Date
    02-06-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Create sheets based on a column of master sheet

    Roy, your macro is perfect....

    Actually my question is, my data in the attached sheet, starts from column A, Row 1. If i change the destination, say starts from Column D row 8, where i have to amend your macro, to make it work as desired. i am just changing the columns and rows.

+ 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