Larry Brister
asked on
Run script on cells in VBA Macro
In an Excel 2010 worksheet I want to build a Macro in VBA
I have a column with data from A2-A30000
I want to run a macro from top to bottom that is the current cell = "" set it to the cell above
I program in VB and am rusty in VBA syntax
So that starting at row 2
1002
1003
Would become
1002
1002
1002
1003
I have a column with data from A2-A30000
I want to run a macro from top to bottom that is the current cell = "" set it to the cell above
I program in VB and am rusty in VBA syntax
So that starting at row 2
1002
1003
Would become
1002
1002
1002
1003
ASKER
nutsch:
That works when there's a number in the cell
But when theres text like "Bill" it inserver =R[-1]C
That works when there's a number in the cell
But when theres text like "Bill" it inserver =R[-1]C
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect, thanks
ASKER
Follow-up question coming
Open in new window
Thomas