Hi, brockmane,
nice idea to copy the code into a worksheet and color the code.
IŽd preferred to have a sample of how the workbook looks like.
Instead of Copy&Paste like you use it by now you could try to simplify the code to something like
With Sheets("Sheet1 ")
With .Range("A3")
Sheets("Sheet2").Range("B5").Value = .Value
Sheets("Sheet3").Range("B2").Value = .Value
Sheets("Sheet4").Range("B2").Value = .Value
End With
With .Range("B3")
Sheets("Sheet3").Range("B3").Value = .Value
Sheets("Sheet4").Range("B3").Value = .Value
End With
With .Range("D3")
Sheets("Sheet3").Range("B4").Value = .Value
Sheets("Sheet4").Range("B4").Value = .Value
End With
'... More to copy
End With
which will leave you on the active sheet and avoid all the selecting, switching and copying (code produced by macro recorder).
Alternatives might be a loop or arrays for the columns to which to copy.
Ciao,
Holger
Bookmarks