andrewb90
Well-known Member
- Joined
- Dec 16, 2009
- Messages
- 1,077
Hi all,
I am trying to import a number of cells (G48:67) from a closed workbook using a macro button. The tricky part is that some of the file name will change every month-ish, and I want to see if I can have the macro adjust for the name change every time. Also the closed worksheet have a different page for every day of the week, and I need the macro to adjust based on the day. Can I have a macro reference information in a cell on the same page to use for importing data?
For example:
The files are labeled
2010P04
2010P05
2010P06
and the sheets are:
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Can anybody help with this?
Thanks,
Andrew
I am trying to import a number of cells (G48:67) from a closed workbook using a macro button. The tricky part is that some of the file name will change every month-ish, and I want to see if I can have the macro adjust for the name change every time. Also the closed worksheet have a different page for every day of the week, and I need the macro to adjust based on the day. Can I have a macro reference information in a cell on the same page to use for importing data?
For example:
The files are labeled
2010P04
2010P05
2010P06
and the sheets are:
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Can anybody help with this?
Thanks,
Andrew