I
IcarusFB
Hi all! I'm very new to macros (I just discovered them tonight! lol)
and I am having some problems:
I have 12 sheets (Jan-Dec) on the project I am working on and each page
has stats on 28 staff members in my department. I am trying to insert 2
rows for each staff member on each sheet. That works out to 672 rows
that I have to add, which is very time consuming. Here is the macro I
have so far:
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 31/12/2005 by John Smith
'
' Keyboard Shortcut: Ctrl+t
'
Range("B11:AJ11").Select
Selection.EntireRow.Insert
Selection.EntireRow.Insert
End Sub
For the range, the numbers would change as follows: B21:AJ21, B29:AJ29,
B37:AJ37, etc....
Is it possible to write all of this under one macro or do I have to
write a different macro for each row?
Thanks for your time!
(I have a feeling its going to be quicker to add the rows manually).
and I am having some problems:
I have 12 sheets (Jan-Dec) on the project I am working on and each page
has stats on 28 staff members in my department. I am trying to insert 2
rows for each staff member on each sheet. That works out to 672 rows
that I have to add, which is very time consuming. Here is the macro I
have so far:
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 31/12/2005 by John Smith
'
' Keyboard Shortcut: Ctrl+t
'
Range("B11:AJ11").Select
Selection.EntireRow.Insert
Selection.EntireRow.Insert
End Sub
For the range, the numbers would change as follows: B21:AJ21, B29:AJ29,
B37:AJ37, etc....
Is it possible to write all of this under one macro or do I have to
write a different macro for each row?
Thanks for your time!
(I have a feeling its going to be quicker to add the rows manually).