Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I have the following code. As I push F8 to execute manually, after the Insert row, it jumps to another procedure, skips around some of those lines of code, then comes back to execute the last line?
I have noticed this pattern in some other spreadsheet VBA as well. What am I doing wrong? Thanks, Harold Private Sub InsertRow() Dim myRow As Long myRow = ActiveCell.Row Do Until Cells(myRow, 2) < Cells(myRow + 1, 2) myRow = myRow + 1 Loop Rows(myRow).Insert Rows(ActiveCell.Row).Select End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Time the Execution Speed of Procedure in Milliseconds | Excel Programming | |||
Array retained in memory despite procedure execution ended | Excel Programming | |||
Blank Message Box after procedure execution | Excel Programming | |||
How to jump from a Form procedure to a Workbook or Module procedure? | Excel Programming | |||
Function/Procedure dependence & order of execution | Excel Programming |