Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to freeze screen

Can someone tell me how to write a macro that will freeze the frame
until finished. I have a file with 25 sheets which, when the file
opens, all the sheets are taken through a formatting routine. This is
fine, but you get a bit dizzy watching it. So I want to freeze the
display and show a box filling as the macro progresses. Can anyone
help?



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to freeze screen

I minimized the workbook. You don't have to watch and the program is faster by
powers!

jb
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Macro to freeze screen

Hi Stuart,

Put Application.ScreenUpdating=False at the beginning and
Application.ScreenUpdating=True at the end.

--
Regards,

Jake Marx
www.longhead.com


Stuart Farr wrote:
Can someone tell me how to write a macro that will freeze the frame
until finished. I have a file with 25 sheets which, when the file
opens, all the sheets are taken through a formatting routine. This is
fine, but you get a bit dizzy watching it. So I want to freeze the
display and show a box filling as the macro progresses. Can anyone
help?



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from
http://www.ExcelForum.com/


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to freeze screen

JB

This file goes to a 3rd party for their use so I need the control to
remain in the file - if I minimised the file, the 3rd party would panic
hence my need for the display to be frozen albeit temporarily. So the
question still remains



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to freeze screen

Jake,

That's great - thanks. Any ideas on how I could demonstrate to the user
that there is a macro working e.g. grey box with blue fill in as the
macro progresses?



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Macro to freeze screen

Hi Stuart,

You could use a UserForm with a ProgressBar control on it. Or you could
simply use the StatusBar in Excel (gray bar at bottom of application
window). To do that:

Application.StatusBar = "Working - please wait...."

'/ do your stuff

Application.StatusBar = False

You could, of course, put the % complete by changing the statusbar in your
loop.

--
Regards,

Jake Marx
www.longhead.com


Stuart Farr wrote:
Jake,

That's great - thanks. Any ideas on how I could demonstrate to the
user that there is a macro working e.g. grey box with blue fill in as
the macro progresses?



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from
http://www.ExcelForum.com/


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to freeze screen

Jake,

You're a star - many thanks

Stuart



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

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
How do I freeze a row on the bottom of my screen? jackBoom Excel Discussion (Misc queries) 5 October 11th 08 10:12 PM
Freeze Pane Macro simplymidori[_2_] Excel Discussion (Misc queries) 1 April 15th 08 01:31 AM
In Excel can you select freeze pane and split screen on same page Jeannie Setting up and Configuration of Excel 2 August 3rd 07 06:29 PM
Freeze screen during computations fmistry Excel Discussion (Misc queries) 1 February 26th 07 10:35 PM
What is the difference between split screen and freeze? ch Excel Discussion (Misc queries) 1 March 13th 06 10:02 PM


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