Hi,
I want to copy some rows even if that excel using by some one.
I used below code;
Set wbSource = Workbooks.Open("C:\Documet\Share Document\MonthlyReport.xlsm", Password:="xxxx", ReadOnly:=True)
wbSource is workbook.
When someone is using, I want to open as 'ReadOnly', but I got an error "Runtime 9, script out of range".
When nobody is using, then this code works well.
What is wrong and how can I fix this problem?
Thanks
Bookmarks