Costas
Member
Hi Chandoo,
I don't know what's happening with excel lately. Code that was working last week doesn't work now. This is the 3rd instance it happens. I'm using the code below and although the file opens (so my path and filename must be correct) I get the 1004 error and I can't move to the next line.
I've tried many different variations to the above and it doesn't work. I just can't think of what's causing this error when it was working before.
Thanks
Costas
I don't know what's happening with excel lately. Code that was working last week doesn't work now. This is the 3rd instance it happens. I'm using the code below and although the file opens (so my path and filename must be correct) I get the 1004 error and I can't move to the next line.
Code:
MyTxt = Application.ActiveWorkbook.Path & "\" & "Timesheet_SYD.xlsm"
Workbooks.Open FileName:=MyTxt, ReadOnly:=False
I've tried many different variations to the above and it doesn't work. I just can't think of what's causing this error when it was working before.
Thanks
Costas