Michael M
Well-known Member
- Joined
- Oct 27, 2005
- Messages
- 21,648
- Office Version
-
- 365
- 2019
- 2013
- 2007
- Platform
-
- Windows
Hi All
I currently have 2700 rows of data that I need to repopulate.
What I am trying to do is:
Column "D" has a 4 digit number on each row.
If the row at column "D" is blank, I want the macro to use the last previous 4 digit number until it encounters a populated row.
So, if D1,D2,D3, have the number 5150 in them and D4:D11 are blank, the macro will insert 5150, if D12,D13,D14, have the number 2468 in them and D15:D25 are blank, the macro will insert 2468, etc, etc.
Any assistance would be greatly appreciated.
Regards
Michael M
I currently have 2700 rows of data that I need to repopulate.
What I am trying to do is:
Column "D" has a 4 digit number on each row.
If the row at column "D" is blank, I want the macro to use the last previous 4 digit number until it encounters a populated row.
So, if D1,D2,D3, have the number 5150 in them and D4:D11 are blank, the macro will insert 5150, if D12,D13,D14, have the number 2468 in them and D15:D25 are blank, the macro will insert 2468, etc, etc.
Any assistance would be greatly appreciated.
Regards
Michael M