Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code that selects a bunch of sheets, and then
copies a row and pastes the formula in that row to a set range. This code takes a while to run. Generally speaking, would a for next loop be faster? Or is there an even faster way (ie a do while loop?) Thanks! Set shtarray = Sheets Array "Sheet1", "Sheet2", "Sheet3", "Sheet4", "Sheet5", "Sheet6")) shtarray.Select Sheets("Sheet1").Activate 'Copy Formula Range("A2:EC2").Copy Set frng = Range("A5:EC" & Data.Range("b65536").End(xlUp).Row) frng.Select Selection.PasteSpecial Paste:=xlPasteFormulas |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
category label spacing (x-axis generally) | Charts and Charting in Excel | |||
My computer keeps speaking out cells in excel, no other program | Excel Discussion (Misc queries) | |||
can this be done faster? | Excel Discussion (Misc queries) | |||
Should I generally request "post a poll" when I post a new thread? | Excel Discussion (Misc queries) | |||
Can faster CPU+larger/faster RAM significantly speed up recalulati | Excel Discussion (Misc queries) |