I need certain cells on a worksheet to be populated by data from the previous month’s worksheet. Presently, this is possible simply by selecting the cell from the previous month's file, resulting in a formula that looks something like this in the current month's file:
='[June07.xls]Graph'!$E$4
This works just fine, but requires a lot of manual clicking and selecting each month.
Is it possible to set the [June07.xls] part of that formula to a variable, and then to have that variable defined by a macro-initiated pop-up box? In other words, press a button, pop-up box opens, enter last month’s file name, and bam all the cells with that variable are defined through that one pop-up box?
Thanks…!
='[June07.xls]Graph'!$E$4
This works just fine, but requires a lot of manual clicking and selecting each month.
Is it possible to set the [June07.xls] part of that formula to a variable, and then to have that variable defined by a macro-initiated pop-up box? In other words, press a button, pop-up box opens, enter last month’s file name, and bam all the cells with that variable are defined through that one pop-up box?
Thanks…!