Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How to set the macro for insert a row automatically after each account no ?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Accounts()
Dim rng As Range, i As Long Set rng = Cells(Rows.Count, 1).End(xlUp) For i = rng.Row To 1 Step -1 If Cells(i + 1, 1).Value < Cells(i, 1).Value Then Cells(i + 1, 1).EntireRow.Insert End If Next End Sub -- Regards, Tom Ogilvy "Janmy" wrote in message ... How to set the macro for insert a row automatically after each account no ? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you very much!
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
account # entry needs to return the account description | Excel Worksheet Functions | |||
Insert Name based on the account number | Excel Discussion (Misc queries) | |||
Inheriting a laptop--how do I change office user account informati | Excel Discussion (Misc queries) | |||
change dots to dashes in an account format (xx.xxxx.xxxx) to xx-xx | Excel Discussion (Misc queries) | |||
compare 2 data bases that change each month. Only account number | New Users to Excel |