Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open a read only file as a writable file
I have a file that is marked as recommended read only. I would like to have
my macro open the file alter it and save it but I can't seem to automatically get rid of the message box when I open the file that asks if you would like it to be read only. I have tried workbooks.open(file,,false) And I have tried Application.DisplayAlerts = False workbooks.open(file) Application.DisplayAlerts = True The first method did nothing and the second method opened it as a read only file. Any suggestions? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Open a read only file as a writable file
Workbooks.Open Filename:="C:\book1.xls", IgnoreReadOnlyRecommended:=True
-- Jim "the00snoopy" wrote in message ... |I have a file that is marked as recommended read only. I would like to have | my macro open the file alter it and save it but I can't seem to automatically | get rid of the message box when I open the file that asks if you would like | it to be read only. | | I have tried | workbooks.open(file,,false) | | And I have tried | Application.DisplayAlerts = False | workbooks.open(file) | Application.DisplayAlerts = True | | The first method did nothing and the second method opened it as a read only | file. | | Any suggestions? | |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel file won't open because it' a read only file when it is not | Excel Discussion (Misc queries) | |||
how do you open a file read-only? | Excel Programming | |||
Help with Open and Read txt file, please? | Excel Programming | |||
How to Open file as read only | Excel Programming | |||
File in use open read only | Excel Programming |