Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have written a simple Macro that copies and pastes one excel line 1000
times. For some reason it takes forever on my computer (~5 minutes). Any idea why? Any suggestions much aprpeciated!!! Here's the code: Sub Test() ' ' Application.Calculation = xlCalculationAutomatic Set Result_Range = Range("d11") n = 0 While n < 1000 Range("d7:it7").Select Selection.Copy Result_Range.Select Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False Set Result_Range = Result_Range.Offset(1, 0) n = n + 1 Wend End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel performance running slow | Excel Discussion (Misc queries) | |||
Excel 2007 painfully slow to open files | New Users to Excel | |||
Workbook running VERY slow | Excel Discussion (Misc queries) | |||
excel running slow when saving | Excel Discussion (Misc queries) | |||
Worksheet Running Very Slow | Excel Worksheet Functions |