Hi all!
I'm trying to simplify a process to save time. I have a master file that converts several reports into one. It transforms the data and spits out tailored data for each of market areas my company supports. I have to then copy multiple selections into several other workbooks, which is time consuming. What I'd like to do is have it be a one button click to copy all the fields I need per market.
Primary ask: I want the code to search all open workbooks for a matching name. I have 7 Markets, and two components of the file name are dynamic. (Month & Market name)
MASTER FILE
Name: SLMR Master
Market Name Location: E2
Current Month Location: K2
Current Date Location: E6
Market Workbooks
Name: Service Level Miss (MONTH) MTD (Market Name)
Once it finds the matching Workbook, I want it to copy data from this location:
Workbook Name: SLMR Master
Tab Name: Main
Data Location: F6:AD6
Date Location: E6
To Location:
Workbook Name: Service Level Miss (MONTH) MTD (Market Name)
Tab Name: MTD Template
Data Location: C2:AA33
Date Location: B2:B33
The added twist here, is that once it finds the matching workbook, it needs to locate the correct date, and paste the data in the row.
I know this is a lot, and code will probably be complex, but if someone could help me get started I’d really appreciate it! If you need any additional information, please let me know.
Thanks so much for your time!
Best,
Chris
I'm trying to simplify a process to save time. I have a master file that converts several reports into one. It transforms the data and spits out tailored data for each of market areas my company supports. I have to then copy multiple selections into several other workbooks, which is time consuming. What I'd like to do is have it be a one button click to copy all the fields I need per market.
Primary ask: I want the code to search all open workbooks for a matching name. I have 7 Markets, and two components of the file name are dynamic. (Month & Market name)
MASTER FILE
Name: SLMR Master
Market Name Location: E2
Current Month Location: K2
Current Date Location: E6
Market Workbooks
Name: Service Level Miss (MONTH) MTD (Market Name)
Once it finds the matching Workbook, I want it to copy data from this location:
Workbook Name: SLMR Master
Tab Name: Main
Data Location: F6:AD6
Date Location: E6
To Location:
Workbook Name: Service Level Miss (MONTH) MTD (Market Name)
Tab Name: MTD Template
Data Location: C2:AA33
Date Location: B2:B33
The added twist here, is that once it finds the matching workbook, it needs to locate the correct date, and paste the data in the row.
I know this is a lot, and code will probably be complex, but if someone could help me get started I’d really appreciate it! If you need any additional information, please let me know.
Thanks so much for your time!
Best,
Chris