Dear all,
I'm a newbe in this macro world and I have been trying to get my routine working. I don't have any error apparently, but the issue is that I'm not copying anything and that's exactly what I need to do. I checked names, ranges and everyting is fine. Could you please help me?
This is the code:
sht0 exist of course, as well as Template and they have the specified tabs!
Dim cell As Range
sht0.Activate
For i = 1 To 10
With sht0
.Worksheets("Online Data").Select
If Cells(10, i).Value = "Time" Then
Columns(i).Select
Selection.Copy
Template.Activate
With Template
.Worksheets("Fermentation").Select
Range("E14").Select
Selection.ActiveSheet.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True
End With
End If
End With
Next i
Looking forward for your comments!
I'm a newbe in this macro world and I have been trying to get my routine working. I don't have any error apparently, but the issue is that I'm not copying anything and that's exactly what I need to do. I checked names, ranges and everyting is fine. Could you please help me?
This is the code:
sht0 exist of course, as well as Template and they have the specified tabs!
Dim cell As Range
sht0.Activate
For i = 1 To 10
With sht0
.Worksheets("Online Data").Select
If Cells(10, i).Value = "Time" Then
Columns(i).Select
Selection.Copy
Template.Activate
With Template
.Worksheets("Fermentation").Select
Range("E14").Select
Selection.ActiveSheet.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True
End With
End If
End With
Next i
Looking forward for your comments!