ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   msg boxes (https://www.excelbanter.com/excel-programming/298664-msg-boxes.html)

doug

msg boxes
 
i have a macro that i recorded and when i run it, it pops
up msg boxes to confirm what i want to do....is there a
way to make these msg box selections behind the scenes in
the macro
thanks
doug

Bob Phillips[_6_]

msg boxes
 
Do you mean put the answers in the code? Surely that would mean that you
know in advance what will be chosen, so just take that logic route.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"doug" wrote in message
...
i have a macro that i recorded and when i run it, it pops
up msg boxes to confirm what i want to do....is there a
way to make these msg box selections behind the scenes in
the macro
thanks
doug




Tom Ogilvy

msg boxes
 
Sub Macro1()
*
* Recorded by doug
*
Application.DisplayAlerts = False

' current code

Application.DisplayAlerts = True
End Sub

might be what you are after.

--
Regards,
Tom Ogilvy

"doug" wrote in message
...
i have a macro that i recorded and when i run it, it pops
up msg boxes to confirm what i want to do....is there a
way to make these msg box selections behind the scenes in
the macro
thanks
doug





All times are GMT +1. The time now is 11:45 PM.

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