E
Eddy Kwan
I used the excel automation.
Before i open the workbook, I set DisplayAlerts = False and visible = false
then I open the workbook with
Workbooks.Open(fileName:=Filename)
check the readonly flag, if readonly is true, i close the workbook and
reopen with
Workbooks.Open(fileName:=Filename, readonly:=true)
some time later, If someone close the workbook, I got the notification with
file not available and my app lock-up.
How do i suppress this notification?
Before i open the workbook, I set DisplayAlerts = False and visible = false
then I open the workbook with
Workbooks.Open(fileName:=Filename)
check the readonly flag, if readonly is true, i close the workbook and
reopen with
Workbooks.Open(fileName:=Filename, readonly:=true)
some time later, If someone close the workbook, I got the notification with
file not available and my app lock-up.
How do i suppress this notification?