Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Is there a clean way of running a macro?


I just finally got my macro just the way I wanted, I could not have done
it without a lot of help from this forum, thank you very much.

Right now I have many processes going when the macro runs, sometimes it
handles a lot of data so it can take awhile. I was just wondering if
there is a cleaner way of running it, maybe having it minimize and a
window coming up saying please wait or something so that you do not
really have to see all of the steps that are going on in the
background.

If anyone has any tips that would be great.

Thanks again!

~J


--
nbaj2k
------------------------------------------------------------------------
nbaj2k's Profile: http://www.excelforum.com/member.php...o&userid=36480
View this thread: http://www.excelforum.com/showthread...hreadid=566609

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 791
Default Is there a clean way of running a macro?

Type this at the beginning of your macro:
Application.ScreenUpdating = false

and this at the end

Application.ScreenUpdating = True

Msgbox("Macro completed successfully")


"nbaj2k" wrote:


I just finally got my macro just the way I wanted, I could not have done
it without a lot of help from this forum, thank you very much.

Right now I have many processes going when the macro runs, sometimes it
handles a lot of data so it can take awhile. I was just wondering if
there is a cleaner way of running it, maybe having it minimize and a
window coming up saying please wait or something so that you do not
really have to see all of the steps that are going on in the
background.

If anyone has any tips that would be great.

Thanks again!

~J


--
nbaj2k
------------------------------------------------------------------------
nbaj2k's Profile: http://www.excelforum.com/member.php...o&userid=36480
View this thread: http://www.excelforum.com/showthread...hreadid=566609


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Is there a clean way of running a macro?


perfect, just what I was looking for, thanks!

~

--
nbaj2
-----------------------------------------------------------------------
nbaj2k's Profile: http://www.excelforum.com/member.php...fo&userid=3648
View this thread: http://www.excelforum.com/showthread.php?threadid=56660

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
Clean Macro that WORKS... DR Excel Worksheet Functions 3 October 8th 09 09:52 PM
Text Clean-up Macro RedFive Excel Discussion (Misc queries) 2 October 5th 09 03:00 PM
CLEAN function - macro?? George Applegate[_2_] Excel Worksheet Functions 2 September 15th 09 11:33 PM
"clean up" after running a program in Excel Wayne Knazek Excel Worksheet Functions 1 July 1st 06 03:51 PM
Clean Up Background While Running Macro Henry[_6_] Excel Programming 2 June 22nd 04 09:37 PM


All times are GMT +1. The time now is 04:45 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"