Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Coe to clear system messages

Status
Not open for further replies.

gcole

Programmer
Aug 2, 2000
390
US
I need code to clear system messages from the screen. Can anyone help?
 
I'm presuming you mean the msgbox's that pop up on errors or prompts etc
application.displayalerts = false should do this. If this isn't what you're after, you'll need to be more specific
HTH
Geoff
 
The message I am trying to clear is:
Registry editor: that tells me the the changes have been entered into the registry. I am running a .reg file.
 
Ok - that's where I step out - not used VBA to do registry stuff - hope someone else can help.
Geoff
 
Thanks. That is pretty much where I am sitting. I am not using VBA thought. I am running a system file with a .reg extention.
 
erm.....this IS a VBA forum - aren't there other forums which might cover stuff like this ?? ;-) Just a suggestion - please don't take offence if you have already tried other forums.
Geoff

 
The problem is solved, the code is attached if anyone else needs it.
regedit /s d:\projects\regsett\regcode.reg

I used this forum to see if anyone else had run into this. I am running vba scripts with a scheduler and this was stopping it.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top