Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Determine Workbook Mode
The first line in this if-statement is incorrect. What would be the correct
syntax? If ActiveWorkbook.Mode < xlReadOnly Then ActiveWorkbook.ChangeFileAccess Mode:=xlReadOnly End If |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Determine Workbook Mode
If Not ActiveWorkbook.ReadOnly Then
ActiveWorkbook.ChangeFileAccess Mode:=xlReadOnly End If Mike H. wrote: The first line in this if-statement is incorrect. What would be the correct syntax? If ActiveWorkbook.Mode < xlReadOnly Then ActiveWorkbook.ChangeFileAccess Mode:=xlReadOnly End If |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pvt Table Refresh in Share Workbook Mode | Excel Discussion (Misc queries) | |||
Exceeding 65K of defined names within workbook causes workbook to go into repair mode when it is opened | Excel Programming | |||
Testing of a workbook is in read only mode | Excel Programming | |||
Get in DEBUG mode on workbook open | Excel Programming | |||
workbook opens in design mode | Excel Programming |