Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
lee lee is offline
external usenet poster
 
Posts: 184
Default Excel File Slowing Down after Macros Added

I am a newbie to VBA.

I notice that my excel file seems to be slowing down when saving after
adding some simple macros for sorting data.

Are there some guidlines to minimize the impact of Macros slowing down excel??
Like screenupdating=false etc.

Thanks in advance,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Excel File Slowing Down after Macros Added

To answer your specific question, you can bracket your macro code with:
Application.ScreenUpdating = False
Application.ScreenUpdating = True
I hedge because there could be other reasons why things are slowing down but
you don't provide any details about what is happening when you save. HTH
Otto
"Lee" wrote in message
...
I am a newbie to VBA.

I notice that my excel file seems to be slowing down when saving after
adding some simple macros for sorting data.

Are there some guidlines to minimize the impact of Macros slowing down
excel??
Like screenupdating=false etc.

Thanks in advance,



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
Why is path name added to active cell when Excel file is saved? [email protected] Excel Discussion (Misc queries) 1 June 28th 07 04:39 PM
View zoom slowing opening of the file ConnieM Excel Discussion (Misc queries) 0 July 27th 06 11:07 PM
How to save an excel spreadsheet as a text file without added quot Dozzle Excel Discussion (Misc queries) 2 April 11th 05 04:21 PM
My macros are slowing down. Brad Patterson Excel Programming 0 July 24th 03 12:42 AM
My macros are slowing down. Brad Patterson Excel Programming 0 July 23rd 03 11:59 PM


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