theColonel
New Member
- Joined
- May 31, 2012
- Messages
- 9
I just started working with Macros today. What I'm trying to do with it is filter through information of a report and format it automatically for me. Which would spare me from doing it by hand which can take awhile.
Sub Macro4()
'
' Macro4 Macro
'
'
ActiveWindow.SmallScroll Down:=78
Range("B102:K102").Select
Selection.Cut
Range("A102").Select
ActiveSheet.Paste
End Sub
This is what I have so far, I think I understand how to change the ranges accordingly to make it work. But how would I have it conditionally go through and move a row of cells over/cut and paste if column 2 had the word "Sub" in it? Do I need to learn how to loop it? Thanks in advance for any help.
Sub Macro4()
'
' Macro4 Macro
'
'
ActiveWindow.SmallScroll Down:=78
Range("B102:K102").Select
Selection.Cut
Range("A102").Select
ActiveSheet.Paste
End Sub
This is what I have so far, I think I understand how to change the ranges accordingly to make it work. But how would I have it conditionally go through and move a row of cells over/cut and paste if column 2 had the word "Sub" in it? Do I need to learn how to loop it? Thanks in advance for any help.