Is it possible to hide system message box?

Rousie2

New Member
Joined
Oct 13, 2014
Messages
3
I have a userform that covers the entire screen, part of my VBA code saves the workbook when certain events are triggered (form buttons pressed).
My problem is that a system message box shows on top of the userform whilst the file is being saved, I have trolled the net for days but I cant find a solution, any ideas would be much appreciated.
 
Sorry for the delay in responding, the box has a header "Saving", inside the box its says on the first line "Saving as:", then on second line it gives the full path and name of the file being saved (my file).
The box also shows a green progress bar and a "Cancel" button.
I do have a screen shot if that helps but am unsure how to attach.
 
Upvote 0
What is the code that triggers this?
It almost sounds like you are using .SaveAs, which requires user intervention.
 
Upvote 0
Below is the code that triggers the save.

Application.DisplayAlerts = False ' prevents system saving dialog box from showing
Application.EnableEvents = False
ActiveWorkbook.Save
Application.EnableEvents = True
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top