9 replies
by carquiza
Here is a sample macro:
Sub Sample_Macro1()
Range("A1").Select
ActiveCell.FormulaR1C1 = "1"
Range("A2").Select
ActiveCell.FormulaR1C1 = "=R[-1]C+1"
Selection.AutoFill Destination:=Range("A2:A27"), Type:=xlFillDefault
Range("A2:A27").Select
End Sub
Sub Sample_Macro2()
Range("A40").Select
Selection.EntireRow.Insert
End Sub
by mjr2u
Poster rated this answer.
by abarnes70
Use the ROW function. In cell A1 (for example) enter
=row()
This can be copied to any row and will display the current row number.
by mjr2u
Poster rated this answer.
by drmorton1
by mjr2u
Poster rated this answer.
by krystal190
Go to "Page Setup" and select "Sheet". Check the box "Row and Column Headings"
Simple:-)
by mjr2u
Poster rated this answer.
by mjr2u
This discussion is closed to new replies.
Trending Software posts
Sort by Trending