Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default replacement for msgbox

mid way through code instead of using msgbox i wish to present a message to
the user in cell "B3" (appropriately formated), at this point i want to halt
processing until an object/shape on screen ("continue") is clicked.

i thought about assigning the object to a macro, but how do you stop the
code and restat it fro where it stopped.


Sunil


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default replacement for msgbox

You can't restart a macro. You can split the macro into pieces and run on
pice before the object is clicked. Then run the second macro using an event
when the object is clicked

"sunilpatel" wrote:

mid way through code instead of using msgbox i wish to present a message to
the user in cell "B3" (appropriately formated), at this point i want to halt
processing until an object/shape on screen ("continue") is clicked.

i thought about assigning the object to a macro, but how do you stop the
code and restat it fro where it stopped.


Sunil



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default replacement for msgbox

What happens if they don't see the message in cell b3? And, what happens
when they click the continue shape when it is not needed. Seems to me that
the message box IS appropriate.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"sunilpatel" wrote in message
...
mid way through code instead of using msgbox i wish to present a message
to the user in cell "B3" (appropriately formated), at this point i want to
halt processing until an object/shape on screen ("continue") is clicked.

i thought about assigning the object to a macro, but how do you stop the
code and restat it fro where it stopped.


Sunil


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default replacement for msgbox


Or you can learn to use InputBox method to allow the user to enter and alter
data while the macro is paused. It is all in the design of the program. If
the programmer anticipates that a user will need to manually edit the
worksheet while the macro is running, it can be handled by designing the
type of controls into the system that allows these edits to occur without
having to "stop" the macro.


"Joel" wrote in message
...
You can't restart a macro. You can split the macro into pieces and run on
pice before the object is clicked. Then run the second macro using an
event
when the object is clicked

"sunilpatel" wrote:

mid way through code instead of using msgbox i wish to present a message
to
the user in cell "B3" (appropriately formated), at this point i want to
halt
processing until an object/shape on screen ("continue") is clicked.

i thought about assigning the object to a macro, but how do you stop the
code and restat it fro where it stopped.


Sunil





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MsgBox Replacement w/ an UserForm Chuckles123[_37_] Excel Programming 0 October 10th 04 04:17 PM
MsgBox Replacement w/ an UserForm Chuckles123[_35_] Excel Programming 1 October 10th 04 01:40 PM
MsgBox Replacement w/ an UserForm Chuckles123[_34_] Excel Programming 2 October 9th 04 05:48 PM
MsgBox Replacement w/ an UserForm Chuckles123[_32_] Excel Programming 1 October 9th 04 03:59 PM
MsgBox Replacement w/ an UserForm Chuckles123[_31_] Excel Programming 0 October 9th 04 02:38 PM


All times are GMT +1. The time now is 02:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"