VBA minimize excel popups

Pinaceous

Well-known Member
Joined
Jun 11, 2014
Messages
1,113
Office Version
  1. 365
Platform
  1. Windows
Good Afternoon,

How would I minimize an excel generated pop-up?

For example, upon close of my workbook I have excel
VBA Code:
 ActiveWorkbook.Save
.

This works good but now how do I minimize the excel generated pop-up from this code?

I was thinking something like
VBA Code:
 ActiveWindow.WindowState = xlMinimized

but this does not minimize its pop-up only the workbook.

I've also tried
VBA Code:
 Application.ScreenUpdating = False

but this does not work for the excel generated pop-up.

Any suggestions??

Thank you!
pinaceous
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
This is what I have for when my file is complete with its refresh:
VBA Code:
Sub ExitExcel()
    
    ThisWorkbook.Save
    Application.DisplayAlerts = False
    Application.Quit

    
End Sub
 
Upvote 0
Can I assume the pop up that you are referring to is a pop up asking to overwrite the file?
 
Upvote 0
Can I assume the pop up that you are referring to is a pop up asking to overwrite the file?


Hi johnnyL,

Yes. Using
VBA Code:
ThisWorkbook.Save
as the example, the excel overwrite file message box still pops up even with the use of the above.

For example, the message box appears to be Saving and does not perform this task hidden as I would like.

Do you have any suggestions?

Thanks!
pinaceous
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    18.2 KB · Views: 14
Last edited:
Upvote 0
To disable the window shown in your picture, I believe would require a registry edit.
 
Upvote 0
Do you have experience with editing the registry?
 
Upvote 0
No. Please explain.
Well if I go into the Registry Editor for a specific computer does that mean that whatever changes I make to the Excel Registry will only affect that computer and not the specific file, correct?

So, if others use that file on a different computer, they will have to change their registry?
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,824
Members
449,470
Latest member
Subhash Chand

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