D
Dave Shultz
I want to write a macro to copy down “Holiday†in column A until the row
where “Vacation†appears. And then copy down “Vacation†in the subsequent
rows. And the in column B, I want to copy down “Team A†until the next team
is mentioned. However, I don’t want the macro applied to the columns where I
have the # of hours listed.
Suggestions?
Type Team Name Jan Feb Mar Apr
Holiday Team A Tom 16 8
Dick 16 8
Harry 16 8 12
Team B Sue 16
Kim 16 8
Sam 16 8
Team C George 16 8
John 16 8
Jim 8
Vacation Team A Tom 8
Dick 8
Harry
Team B Sue 8
Kim
Sam 8
Team C George 8
John 8
Jim
where “Vacation†appears. And then copy down “Vacation†in the subsequent
rows. And the in column B, I want to copy down “Team A†until the next team
is mentioned. However, I don’t want the macro applied to the columns where I
have the # of hours listed.
Suggestions?
Type Team Name Jan Feb Mar Apr
Holiday Team A Tom 16 8
Dick 16 8
Harry 16 8 12
Team B Sue 16
Kim 16 8
Sam 16 8
Team C George 16 8
John 16 8
Jim 8
Vacation Team A Tom 8
Dick 8
Harry
Team B Sue 8
Kim
Sam 8
Team C George 8
John 8
Jim