P
Potsy
I have a macro which when you press a button opens another excel file
to cross-check and keep both open as two are linked via VLOOKUP,
however, the "Estimate MASTER v2.4" file name changes by user and save
as to the relevant estimate number and it then macro seems to throw a
wobbly due to file change - is there any way to just tell it to look
for open document not the file name "Estimate MASTER v2.4"???
"P:\01 Estimates\01 Estimate Record Book\Estimate Book.xls"
Windows("Estimate MASTER v2.4.xls ").Activate
End Sub
Sorry not very good in VBA...learning!!!
to cross-check and keep both open as two are linked via VLOOKUP,
however, the "Estimate MASTER v2.4" file name changes by user and save
as to the relevant estimate number and it then macro seems to throw a
wobbly due to file change - is there any way to just tell it to look
for open document not the file name "Estimate MASTER v2.4"???
"P:\01 Estimates\01 Estimate Record Book\Estimate Book.xls"
Windows("Estimate MASTER v2.4.xls ").Activate
End Sub
Sorry not very good in VBA...learning!!!