Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a For loop that delets some rows from a sheet . The start value for the loop is 1 and the end value is the record count which is the number of rows in the sheet. When I delete a row I have less rows in the sheet so I decreese the record count by one and I want that the loop will loop just as the new value of the record count not its first value. For i=1 to recordCount ... objWS.rows(i).Delete recordCount=recordCount-1 next Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change increasment in a for loop | Excel Discussion (Misc queries) | |||
Change while loop from count to formula | Excel Programming | |||
Change while loop from count to formula | Excel Programming | |||
Loop to change cell color based on found value? | Excel Programming | |||
Jump out of Do Loop on sheet change | Excel Programming |