Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
Problem with speed marco excel 2003 and excel 2007.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Dave Peterson, post: 6311959"] Without knowing any details about your macro... Saved from a previous post: If you turn off the page break lines tools|options|view tab|uncheck page breaks (in xl2003) Does the code work faster? When you're hiding rows/columns, excel wants to figure out where to draw those lines each time you change the layout. Turning of calculation and making sure you're in Normal view will help, too. Option Explicit Sub testme() Dim CalcMode As Long Dim ViewMode As Long With Application CalcMode = .Calculation .Calculation = xlCalculationManual .ScreenUpdating = False End With ViewMode = ActiveWindow.View ActiveWindow.View = xlNormalView 'your real code here 'put things back to what they were With Application .ScreenUpdating = True .Calculation = CalcMode End With ActiveWindow.View = ViewMode End Sub [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
Problem with speed marco excel 2003 and excel 2007.
Top