Evening all
Looking for a simple macro that will open a workbook whose name changes, the name changes are known, date / time
Example of the address is, I've marked the variables in red :-
'\\MAINPC\Downloads\screeprints\jan 2013\01.01.13\[Prints 01.01.13 00.00.xls
When using the indirect formula, the month is in cell a3, the date in cell c3, the time in cell e3
A new workbook is created every thirty minutes and I just wanted to use a vlookup and indirect formula to get some data from it, obviously the vlookup/indirect combination only works when the target workbook is open. so the purpose of the macro is simply to open the workbook, a seperate macro just copies the results and pastes as value, then this macro is to close the target workbook.
Any ideas?
As you can tell I'm very new to VBA
Cheers
Andy
Looking for a simple macro that will open a workbook whose name changes, the name changes are known, date / time
Example of the address is, I've marked the variables in red :-
'\\MAINPC\Downloads\screeprints\jan 2013\01.01.13\[Prints 01.01.13 00.00.xls
When using the indirect formula, the month is in cell a3, the date in cell c3, the time in cell e3
A new workbook is created every thirty minutes and I just wanted to use a vlookup and indirect formula to get some data from it, obviously the vlookup/indirect combination only works when the target workbook is open. so the purpose of the macro is simply to open the workbook, a seperate macro just copies the results and pastes as value, then this macro is to close the target workbook.
Any ideas?
As you can tell I'm very new to VBA
Cheers
Andy