Hi,
I'm pretty pants with Excel and the last VB I did was around 14 years ago (Just had an age realisation moment there) so I wonder if someone can help me.
I need to read external sheets from folders based on dates. So for example:
- On sheet titled "Dec-12", in cell A1 I have the value "Dec-12", and I want to read the sheet "figures.csv" from the relatively pathed folder "./Dec-12".
- On sheet titled "Jan-13", in cell A1 I have the value "Jan-13", and I want to read the sheet "figures.csv" from the relatively pathed folder "./Jan-13".
- On sheet titled "Feb-13", in cell A1 I have the value "Feb-13", and I want to read the sheet "figures.csv" from the relatively pathed folder "./Feb-13".
I tried making a Name alias based on cell A1 to pass into another name alias in the middle of the filename but it didn't work.
Googling the problem confuses me.
Can anyone help me with a simple solution for this?
Thanks in advance,
Greg
Bookmarks