Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Hey,
I am trying to use a macro to get my excel worksheet to number automatically (the rows)....however when i insert a row, the number tracking is off and there is no automatic numbering... This is the code I am using: Sub Autonumber() done = 0 X = 2 Do While done < 1 If (Cells(X, 1) = "") Then entry = X - 1 done = 1 Else X = X + 1 End If Loop Cells(X, 1) = entry X = entry + 1 End Sub Can anyone please help me ASAP!!! THANKS :) Munny Khera |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automatic Numbering | Excel Worksheet Functions | |||
excel automatic numbering | Excel Discussion (Misc queries) | |||
Automatic Quote Numbering | Excel Discussion (Misc queries) | |||
How do I set up invoice automatic numbering in excel? | Excel Discussion (Misc queries) | |||
automatic sequential numbering in excel or word | Excel Discussion (Misc queries) |