+ Reply to Thread
Results 1 to 4 of 4

Macro to copy rows from mastersheet to standard template and save as different files

  1. #1
    Registered User
    Join Date
    11-08-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Macro to copy rows from mastersheet to standard template and save as different files

    Hi,

    I would need assistance to develop a macro to copy data from mastersheet to a standard template based on the unique value column and save the template.

    Eg. I have a master list of sales data with 25 columns, and 1000 rows, and i want to copy the data to standard template based on the region column. I have 6 regions. Region-A with 500 rows data needs to be copied to the standard template and to be saved as Template-Region A.xlsx. Same way the other region data needs to be copied to the template and save as separate files. Also i would need the conditional formatting/formulaes copied while the data is copied to the template.

    Kindly help.

    Regards,
    Kris

  2. #2
    Forum Contributor
    Join Date
    11-15-2011
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    163

    Re: Macro to copy rows from mastersheet to standard template and save as different files

    Why dont you start by recording a macro first and work from there.

    If you start your macro with Ctrl+F to find first Column and Shift + (down arrow to select all) or just drag from 1:500, then Ctrl + C to copy, Select other Workbook, Paste Special, etc...
    Last edited by rtcwlomax; 11-09-2012 at 04:45 AM.

  3. #3
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Macro to copy rows from mastersheet to standard template and save as different files

    If possible provide example worksheet by attached then its more easy solve ur query.

    Thanks -MNR.

  4. #4
    Registered User
    Join Date
    10-31-2012
    Location
    Devon, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Macro to copy rows from mastersheet to standard template and save as different files

    Just doing something very similar, I use;

    Please Login or Register  to view this content.
    Where
    Please Login or Register  to view this content.
    Hopefully you can modify that by changing the named ranges and you will be on your way.
    Last edited by Jive Bunny; 11-09-2012 at 06:52 AM.

+ 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