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 an equivalent to windowsoff in Excel macros?

I am trying to write a macro in Excel and want to stop the display from
changing until the end. 1-2-3 had commands windowsoff and windowson which
achieved this. Is there anyway of doing this in Excel??
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default is there an equivalent to windowsoff in Excel macros?

Try

Application.screenupdating=false

your code


Application.screenupdating=true


"Kiteman22" wrote:

I am trying to write a macro in Excel and want to stop the display from
changing until the end. 1-2-3 had commands windowsoff and windowson which
achieved this. Is there anyway of doing this in Excel??

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,510
Default is there an equivalent to windowsoff in Excel macros?

Application.ScreenUpdating = False 'Suppresses updating
Application.ScreenUpdating = True 'Allows screen updating

Regards,

OssieMac

"Kiteman22" wrote:

I am trying to write a macro in Excel and want to stop the display from
changing until the end. 1-2-3 had commands windowsoff and windowson which
achieved this. Is there anyway of doing this in Excel??

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default is there an equivalent to windowsoff in Excel macros?

On Oct 22, 4:16 pm, Kiteman22
wrote:
I am trying to write a macro in Excel and want to stop the display from
changing until the end. 1-2-3 had commands windowsoff and windowson which
achieved this. Is there anyway of doing this in Excel??


you can use screenupdation as false, try the below code

Application.ScreenUpdating = False


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
@DSUM (123) equivalent in excel jdelayknee New Users to Excel 2 July 21st 06 04:56 PM
What is Date() equivalent in Excel? Ronald S. Cook Excel Programming 1 July 20th 06 01:26 AM
Autotext equivalent in Excel? [email protected] Excel Programming 0 July 29th 04 08:38 PM
Excel equivalent of 'Keep lines together' Fred Smith Excel Programming 2 July 8th 04 03:57 AM
Lotus 1-2-3 {Windowsoff} Bob Barnes Excel Programming 2 January 19th 04 06:41 PM


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