![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I am using a VB macro in another application to compare data to a spreadsheet.Currently I can only have 1 user at a time in the spreadsheet(or running the macro) because the read only prompt always crashes the macro for additional users. Any thoughts on what code will select read only if the spreadsheet is already open?
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Allentown, PA
Posts: 2,510
|
I *think* it's:
Application.DisplayAlerts = False Don't forget to include at the end: Application.DisplayAlerts = True
__________________
~Anne Troy |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|