ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Stopping the confirm popup on file save with same name (https://www.excelbanter.com/excel-programming/395307-stopping-confirm-popup-file-save-same-name.html)

Chartsmalm[_2_]

Stopping the confirm popup on file save with same name
 
I have used this VB excel command before but it was some time ago and I have
forgotten the syntax. I remember that it is a "toggle" . Confirmations are
turned off at the beginning of a macro where you do not want confirms from
the user. Then it is toggled at the end of the macro to put confirmation
back in the normal status.

Help from anyone who recognizes what I'm talking will certainly be
appreciated.

Thanks

OssieMac

Stopping the confirm popup on file save with same name
 
Is this what you are looking for?

Application.DisplayAlerts = False
Application.DisplayAlerts = True

Regards,

OssieMac



"Chartsmalm" wrote:

I have used this VB excel command before but it was some time ago and I have
forgotten the syntax. I remember that it is a "toggle" . Confirmations are
turned off at the beginning of a macro where you do not want confirms from
the user. Then it is toggled at the end of the macro to put confirmation
back in the normal status.

Help from anyone who recognizes what I'm talking will certainly be
appreciated.

Thanks


Tom Ogilvy

Stopping the confirm popup on file save with same name
 
Application.DisplayAlerts = False


Application.DisplayAlerts = True

--
Regards,
Tom Ogilvy


"Chartsmalm" wrote:

I have used this VB excel command before but it was some time ago and I have
forgotten the syntax. I remember that it is a "toggle" . Confirmations are
turned off at the beginning of a macro where you do not want confirms from
the user. Then it is toggled at the end of the macro to put confirmation
back in the normal status.

Help from anyone who recognizes what I'm talking will certainly be
appreciated.

Thanks


Chartsmalm[_2_]

Stopping the confirm popup on file save with same name
 


"Tom Ogilvy" wrote:

Application.DisplayAlerts = False


Application.DisplayAlerts = True

--
Regards,
Tom Ogilvy


"Chartsmalm" wrote:

I have used this VB excel command before but it was some time ago and I have
forgotten the syntax. I remember that it is a "toggle" . Confirmations are
turned off at the beginning of a macro where you do not want confirms from
the user. Then it is toggled at the end of the macro to put confirmation
back in the normal status.

Help from anyone who recognizes what I'm talking will certainly be
appreciated.

Thanks


That's it. Thanks!!!

Chartsmalm[_2_]

Stopping the confirm popup on file save with same name
 


"OssieMac" wrote:

Is this what you are looking for?

Application.DisplayAlerts = False
Application.DisplayAlerts = True

Regards,

OssieMac



"Chartsmalm" wrote:

I have used this VB excel command before but it was some time ago and I have
forgotten the syntax. I remember that it is a "toggle" . Confirmations are
turned off at the beginning of a macro where you do not want confirms from
the user. Then it is toggled at the end of the macro to put confirmation
back in the normal status.

Help from anyone who recognizes what I'm talking will certainly be
appreciated.

Thanks



That's it. Thanks!!


All times are GMT +1. The time now is 05:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com