Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Problem with read only prompt

  1. #1
    Guest

    Default

    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. #2
    MrExcel MVP Anne Troy's Avatar
    Join Date
    Feb 2002
    Location
    Westwood NJ
    Posts
    2,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I *think* it's:

    Application.DisplayAlerts = False

    Don't forget to include at the end:

    Application.DisplayAlerts = True
    ~Anne Troy

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •