+ Reply to Thread
Results 1 to 2 of 2

Make File Macro

  1. #1
    Forum Contributor
    Join Date
    12-11-2012
    Location
    Guadalajara, Mexico
    MS-Off Ver
    Excel 2007 & 2013
    Posts
    101

    Make File Macro

    Hello I have a workbook (attached) that sends data in the master sheet to the corresponding tabs in the workbook. Basically the Information is added to the Master Tab and then with the click of a button the data is sent to the corresponding sheets.

    This is how we do the report: There are 9 different pay groups.
    Add the employees id number to column A and column G populates a pay group for the employee... so if I only have 4 employees belonging to different pay groups to report this week only 4 tabs should populate with data and 4 files created from there when I run the macro... Here are my issues:

    1. All other tabs will populate with the same data as in my Master sheet with all 4 employees when ONLY the 4 Pay Group Tabs should be populated
    2. New CSV files will be created for the 9 Pay Groups, when only 4 Files should be created

    What I would like to add is for the data in the master to be transferred to the historical tab before the master sheet is emptied. So if I run the report this week and only have 4 employees in the master those four should be put in the Historical and then every time I run it for the new employees to be added to the historical tab below the previous employees so we can keep a historical of employees there.... IN THE ATTACHED FILE THE MACRO WAS RUN PLEASE CLEAR DATA FROM THE SHEETS TO RECREATE THE ISSUES...

    Here is the code:

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    12-11-2012
    Location
    Guadalajara, Mexico
    MS-Off Ver
    Excel 2007 & 2013
    Posts
    101

    Re: Make File Macro


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How can I make this macro print in other excel file?
    By Atozea in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2014, 09:15 AM
  2. I want make a macro code VBA for excel file?
    By termal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2009, 06:43 PM
  3. how to make macro file/workbook independant?
    By Chris95120 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-12-2008, 03:19 AM
  4. How to make macro start when file is opened
    By gifer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2005, 04:06 PM
  5. Replies: 3
    Last Post: 03-07-2005, 10:06 PM

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