Hi - I have a code that I would like to loop through each sheet (except the sheets named "Activity Summary" and "Control Panel"), copy column H, then copy the contents of cell B7 into column G.
' Loop through all worksheets and copy driver name into column G
'For Each sh In ActiveWorkbook.Worksheets
' If sh.Name <> "Control Panel" And sh.Name <> "Activity Summary" Then
' Columns("H:H").Select
' Selection.Copy
'Columns("G:G").Select
'Range("G7").Activate
'ActiveSheet.Paste
'Range("B7").Select
' Selection.Copy
'Range("G15").Select
'Range(Selection, Selection.End(xlDown)).Select
'ActiveSheet.Paste
'Next
Any ideas?
' Loop through all worksheets and copy driver name into column G
'For Each sh In ActiveWorkbook.Worksheets
' If sh.Name <> "Control Panel" And sh.Name <> "Activity Summary" Then
' Columns("H:H").Select
' Selection.Copy
'Columns("G:G").Select
'Range("G7").Activate
'ActiveSheet.Paste
'Range("B7").Select
' Selection.Copy
'Range("G15").Select
'Range(Selection, Selection.End(xlDown)).Select
'ActiveSheet.Paste
'Next
Any ideas?