Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default macro stop and start

I write very basic macros. I'm old basic programer. My macros organize
and print stuff from various sheets.

Now I need to stop the macro on a particular sheet, have the user fill
in some stuff on that sheet, then continue the macro. How do I do that?

Thanks

John
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default macro stop and start

Essentailly it will be two macros. The first macro does it's stuff and takes
you to the next sheet. It can then use either a button or an on change event
(button would be my preference) to continue the processing. By using the
button you give your end user the ultimate control over what is done and
when.
--
HTH...

Jim Thomlinson


"John" wrote:

I write very basic macros. I'm old basic programer. My macros organize
and print stuff from various sheets.

Now I need to stop the macro on a particular sheet, have the user fill
in some stuff on that sheet, then continue the macro. How do I do that?

Thanks

John

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default macro stop and start

I guess this can work. The sheet is a form (worksheet) which is printed
and cleared and then used to generate the next report. Very rarely the
user needs to input a little bit before printing. Mostly the data is
gathered from other sheets and the form filled and printed automaticlly.

hmmmmm Since I mark the sheets "processed" after processing them I could
have the user print the current sheet then just run the macro again.

It isn't elegant but it will work I guess.

I tried to use the ShowDataForm function but it was too complicated.
Apparently the data form has to be set up just right to work.

John


Essentailly it will be two macros. The first macro does it's stuff and takes
you to the next sheet. It can then use either a button or an on change event
(button would be my preference) to continue the processing. By using the
button you give your end user the ultimate control over what is done and
when.

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
SUMIF start/stop LiAD Excel Worksheet Functions 2 December 21st 09 03:15 PM
how can I start and stop a sum formula? Ang Excel Worksheet Functions 1 September 9th 08 02:01 AM
Start/Stop Macro Button Paul987 Excel Discussion (Misc queries) 1 July 10th 06 05:14 PM
RTD Links, how to start and stop them [email protected] Excel Worksheet Functions 2 March 28th 05 12:44 PM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 05:04 PM


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

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

About Us

"It's about Microsoft Excel"