J
jason
is this possible?
thanks!
thanks!
is this possible?
thanks!
Just to add to Eliano's response.
The suggested code actually uses a "self-dismissing" msgbox. It's not
dismissing a msgbox that excel shows (or the developer used).
And it seems to work in some versions of windows (no problems with winXP Home
and xl2003 for me). Not so well in other versions of windows.
--
Dave Peterson- Nascondi testo citato
- Mostra testo citato -
Hi Dave.
Many, many thanks for the news, I use XL2003.
However I specify: [message no sense] because the reason to insert a
msgbox in a macro, means that a reply from the user would be
considered necessary.
In accordance with your first answer, no action required, no message.
Sorry for my poor english and regards
Eliano
Are you writing code that displays a prompt?
Lots of those verification prompts can be avoided by:
application.displayalerts = false
'your code here
application.displayalerts = true
If this doesn't help, you may want to describe your situation in greater detail.
Not all messages to users need to get a response from the user. I use the
statusbar to show stuff that the user may be interested in.
And lots of dialogs are redundant--I'm sure you've seen dialog boxes thatallow
you to set an option to never see this dialog again.
But more importantly, not all code can be changed by the user. The original
poster may not be the author of the code.
eliano wrote:
<<snipped>>
Hi Dave.
Many, many thanks for the news, I use XL2003.
However I specify: [message no sense] because the reason to insert a
msgbox in a macro, means that a reply from the user would be
considered necessary.
In accordance with your first answer, no action required, no message.
Sorry for my poor english and regards
Eliano
You could design your own userform and show it while the process is running.
But lots easier is to use:
application.statusbar = "Gathering Data..." & now
...do more stuff
application.statusbar = "Processing data..." & now
...do more stuff
application.statusbar = false 'give it back to excel
Make sure that the statusbar is visible and that the user knows where to look.
jasonwrote:
hey dave,
i am using the msgbox functionality for a reason (it offers a tpye of
"break").
so with this, i just need what i asked, not a different solution.
thanks!