Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi
with vba; i've got an excel workbook open as readonly and i need to open the same as writable to write some data. Set XL_WB = XL_App.Workbooks.Open(FileName:=EXCEL_FILENAME, ReadOnly:=True) Set XL_WB_tmp = XL_App.Workbooks.Open(FileName:=EXCEL_FILENAME, _ ReadOnly:=False, _ IgnoreReadOnlyRecommended:=True) but i keep getting a warning message saying the file is open and that discarding the file wud result in changes being lost ... excel won't open the same file twice, one readonly and other writable? how to avoid this? i DON'T want to close the readonly file. the excel file is shared resource file. multiple users would access the file in readonly mode. atleast in theory ... please help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
fileopen | Excel Programming | |||
Test fileOpen | Excel Programming | |||
Macro to run on fileopen for all workbooks | Excel Programming | |||
Using FileOpen | Excel Programming | |||
Selecting a file path in Excel VBA using FileOpen dialog | Excel Programming |