LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Supressing MsgBox poop-ups from VBA

Hi All

I have added a MsgBox message to my system on Workbook_Open to display
a message if the user has opened the system in read-only. The message
just warns them that they cannot make changes. This works fine.

I have now written a report generator which opens the main system in
read-only mode to collect the data. The problem is that my report
generator also gets the read-only message and therefore waits for me
to click "OK".

How can I supress this message from my report generator code yet still
have it pop up for a normal user?

Application.DisplayAlerts = False does not solve the problem as my
message is a MsgBox and not an Excel alert.

Any ideas? Thanks in advance,
Chrisso

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I use AutoFilter without supressing rows ? Alexandre Excel Discussion (Misc queries) 1 March 5th 07 09:44 PM
Supressing SpellChecker dialogbox davidm Excel Programming 2 October 27th 05 08:20 AM
supressing system warning messages ppete83606[_2_] Excel Programming 3 September 15th 05 05:21 AM
Do you poop? whatsupppppppp???????????? Excel Discussion (Misc queries) 0 June 16th 05 09:10 PM
supressing a message in vba Rob Hargreaves[_2_] Excel Programming 2 June 11th 05 11:11 AM


All times are GMT +1. The time now is 10:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"