The following macro inserts a blank row after each row of data. I need to be able to run this macro from any point in an Excel worksheet. How do I get it to recognize the selected cell as the starting point?
Dim x As Integer
x = 2
Do While Cells(x, 1) <> ""
Cells(x, 1).EntireRow.Insert
x = x + 2
Loop
TIA
Dim x As Integer
x = 2
Do While Cells(x, 1) <> ""
Cells(x, 1).EntireRow.Insert
x = x + 2
Loop
TIA