Consulting

Results 1 to 4 of 4

Thread: Macro to savecopyAs multiply based on filter

  1. #1

    Macro to savecopyAs multiply based on filter

    Hi,

    I have file with a tab called "Master data" and other 5 tabs. In Master tab I have country wise sales data ( 60 Countries- country column is D) ,

    Now I want to make a copy of the same file 60 times for each country, so that each file will have only that countries data.
    if I have to do this manually, I go to master tab > select column D, filter "Not equal" to "India" and delete all rows , Save as "India- Master File", close the activeworkbook > again open my master file repeat for 2nd country till I complete 60 countries.

    Can someone help me with the macro to automate this? I can create a list of countries in sheet 3 so that we loop through.

    Regards
    Arvind

  2. #2
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,875
    deleted
    Last edited by p45cal; 04-17-2016 at 03:23 PM.
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  3. #3
    Hi sorry P45, I didn't get this, "Deleted"

    Regards
    Arvind

  4. #4
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,875
    I deleted my post.
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •