I have several workbooks in C:\my documents called for eg "BR1 Fixed assets 985600.xls"
I have tried to set up a macro to open these files using a wildcard character i.e *, but I get a message "sorry we coul'nt find C:\mydocuments\*985600.xls.....
It would be appreciated if someone could amend my code
I have tried to set up a macro to open these files using a wildcard character i.e *, but I get a message "sorry we coul'nt find C:\mydocuments\*985600.xls.....
Code:
Sub OpenFiles()
Workbooks.Open Filename:= _
"C:\My Documents\*985600.xls", UpdateLinks:=3
End Sub
It would be appreciated if someone could amend my code