Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
The macro below is taking an excessive amount of time to run. It takes about 2 or 3 minutes to complete. Can someone please review the code and see whether there is a way to speed it up? Thanks Monk Application.ScreenUpdating = False Columns("A:o").Select Selection.EntireColumn.Hidden = False Rows("10:10").Select With Selection.Font .Name = "Arial" .Size = 10 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone End With Selection.RowHeight = 30# Rows("11:1251").Select With Selection.Font .Name = "Arial" .Size = 10 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone End With Selection.RowHeight = 12.75 Dim c As Range For Each c In Range("A11:A1250") If c.Value = "" Then Rows(c.Row).Hidden = True Else Rows(c.Row).Hidden = False End If Next c Range("I2").Select Application.ScreenUpdating = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Clearing cells takes long, long time | Excel Discussion (Misc queries) | |||
Clearcontents takes long, long, time | Excel Programming | |||
how do i add time to see how long my macro takes to run | Excel Programming | |||
Time Calculation - How long a macro takes to run | Excel Programming | |||
Saving Takes long time | Excel Programming |