Problem:
I would like to create separate rows for 1 B through G and 3 B through E without affecting the formula.
What I currently have is under the before section.
What I want to accomplish is under the after section.
before after
hdr1 hdr2 hdr3 hdr1 hdr2 hdr3
---- ---- ---- ---- ---- ----
1 A xx 1
B xx ---- ---- ----
C xx A xx
D xx ---- ---- ----
E xx B xx
F xx ---- ---- ----
G xx C xx
---- ---- ---- ---- ---- ---
2 A xx D xx
---- ---- ---- ---- ---- ---
3 B xx E xx
C xx ---- ---- ---
D xx F xx
E xx ---- ---- ---
---- ---- ---- G xx
---- ---- ----
2 A xx
---- ---- ----
3 B xx
---- ---- ----
C xx
---- ---- ----
D xx
---- ---- ----
E xx
---- ---- ----
forumla based on current rows (1,2,3,...).
I was thinking something about inserting a new row below the current row and moving the last line to the newly created row, repeat until all lines = 0.
How would I go about this since I am new to VBA scripting in general?
Thanks,
Michael
I would like to create separate rows for 1 B through G and 3 B through E without affecting the formula.
What I currently have is under the before section.
What I want to accomplish is under the after section.
before after
hdr1 hdr2 hdr3 hdr1 hdr2 hdr3
---- ---- ---- ---- ---- ----
1 A xx 1
B xx ---- ---- ----
C xx A xx
D xx ---- ---- ----
E xx B xx
F xx ---- ---- ----
G xx C xx
---- ---- ---- ---- ---- ---
2 A xx D xx
---- ---- ---- ---- ---- ---
3 B xx E xx
C xx ---- ---- ---
D xx F xx
E xx ---- ---- ---
---- ---- ---- G xx
---- ---- ----
2 A xx
---- ---- ----
3 B xx
---- ---- ----
C xx
---- ---- ----
D xx
---- ---- ----
E xx
---- ---- ----
forumla based on current rows (1,2,3,...).
I was thinking something about inserting a new row below the current row and moving the last line to the newly created row, repeat until all lines = 0.
How would I go about this since I am new to VBA scripting in general?
Thanks,
Michael