+ Reply to Thread
Results 1 to 4 of 4

creating separate worksheets

  1. #1
    Registered User
    Join Date
    11-16-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    11

    creating separate worksheets

    Hi,

    In the attached I have a list of employees from different countries:

    CAN
    ESP
    FR
    GER
    UK
    US

    The country code is in Column B.

    I would like a macro which takes this workbook and creates 6 different workshhets
    for each country, with each worksheet containing employees from that respective country

    Thank yoiuo

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: creating separate worksheets

    There is no attached. A workbook would be helpful.

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

    Re: creating separate worksheets

    Here's some code that I use for this job, you will need to change Column references

    Please Login or Register  to view this content.
    Last edited by royUK; 11-18-2010 at 01:59 PM.
    Hope that helps.

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

    Free DataBaseForm example

  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: creating separate worksheets

    This works in your example
    Please Login or Register  to view this content.
    I'll add some code to separate workbooks later

+ 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