hstsunflower
New Member
- Joined
- Sep 11, 2020
- Messages
- 8
- Office Version
- 365
- Platform
- Windows
Hi There,
Is it possible to create a Macro that will continue through the end of my worksheet and be useable on other worksheets even if the number of rows with data changes?
ie; my worksheet contains 13526 rows. I would like to create a macro that will do the following in the same column down thru row 13526:
Selection.End(xlDown).Select
Range("A122").Select
ActiveCell.FormulaR1C1 = "x"
Selection.End(xlDown).Select
Range("A124").Select
ActiveCell.FormulaR1C1 = "x"
Range("A125").Select
and continue down through all rows to the end of row 13526.
I would also like to use this macro in other worksheets however the number of rows will definitely vary.
Thanks in advance for your help.
Is it possible to create a Macro that will continue through the end of my worksheet and be useable on other worksheets even if the number of rows with data changes?
ie; my worksheet contains 13526 rows. I would like to create a macro that will do the following in the same column down thru row 13526:
Selection.End(xlDown).Select
Range("A122").Select
ActiveCell.FormulaR1C1 = "x"
Selection.End(xlDown).Select
Range("A124").Select
ActiveCell.FormulaR1C1 = "x"
Range("A125").Select
and continue down through all rows to the end of row 13526.
I would also like to use this macro in other worksheets however the number of rows will definitely vary.
Thanks in advance for your help.