msquared99
Member
OK, Excel VBA gurus, I am trying to take data from a workbook and for each sales rep it find and copy that data into an already existing workbook in the folder.
Example:
Workbook (Raw Data Workbook) with VBA Module
Column1 Column2 Column3
Sam ABC Inc $2500
Bill EFG Co $1500
Bill HIJ Inc $900
Bill Acme, Inc $3000
Jack XYZ LLC $4000
Jack GHI, Inc $1000
Existing workbooks (Target Workbooks) in the folder would be:
Sam 02-15.xlsx
Bill 02-15.xlsx
Jack 02-15.xlsx
For each instance of Sam it would copy the data from the Raw Data Workbook into the workbook Sam 02-15.xlsx and so on. The 02-15 would change each month. The Raw Data Workbook would be saved in the folder containing the target workbooks. Even better would be able to select the folder containing the Target Workbooks from the Raw Data Workbook.
Any ideas would be greatly appreciated.
Thanks,
Mike
Example:
Workbook (Raw Data Workbook) with VBA Module
Column1 Column2 Column3
Sam ABC Inc $2500
Bill EFG Co $1500
Bill HIJ Inc $900
Bill Acme, Inc $3000
Jack XYZ LLC $4000
Jack GHI, Inc $1000
Existing workbooks (Target Workbooks) in the folder would be:
Sam 02-15.xlsx
Bill 02-15.xlsx
Jack 02-15.xlsx
For each instance of Sam it would copy the data from the Raw Data Workbook into the workbook Sam 02-15.xlsx and so on. The 02-15 would change each month. The Raw Data Workbook would be saved in the folder containing the target workbooks. Even better would be able to select the folder containing the Target Workbooks from the Raw Data Workbook.
Any ideas would be greatly appreciated.
Thanks,
Mike