I need an Excel macro to
1. Copy a string
2. Find a different string further down the column
3. Paste the copied string to all the cells in between
4. Delete 4 rows between sections.
5. Repeat for the next section until the entire file is completed.
Data looks like this
ABC
(blank)
AM
AM
AM
File(s)
(blank)
DEF
(blank)
AM
AM
AM
AM
AM
AM
File(s)
(blank)
GHI
(blank)
PM
PM
PM
File(s)
(blank)
JKL
(blank)
PM
PM
PM
PM
PM
PM
File(s)
etc. repeated for over a million lines.
I need it to look like
ABC
ABC
ABC
ABC
DEF
DEF
DEF
DEF
DEF
DEF
GHI
GHI
GHI
GHI
JKL
JKL
JKL
JKL
JKL
The number of rows in each section varies.