K
kimt
Afternoon all,
I'm having some trouble with the code pasted below. It want's to debu
the Elseif statement, and I can't see why... any light you can shine a
the problem will be apreaciated.
Sub copyt()
Dim x As Range
x = Range("'data in'!S1")
Do
Sheets("blank timesheet").Select
Sheets("blank timesheet").Copy Before:=Sheets("finished")
Range("C2").Copy
Sheets("blank timesheet (2)").Select
Sheets("blank timesheet (2)").Name = "blank timesheet (2)"
Application.CutCopyMode = False
Sheets("data in").Select
Range("s2:al100").Copy
Range("s1").PasteSpecial xlPasteValues
Elseif
x.Offset(1, o0).Select
Loop Until x = " "
End Su
I'm having some trouble with the code pasted below. It want's to debu
the Elseif statement, and I can't see why... any light you can shine a
the problem will be apreaciated.
Sub copyt()
Dim x As Range
x = Range("'data in'!S1")
Do
Sheets("blank timesheet").Select
Sheets("blank timesheet").Copy Before:=Sheets("finished")
Range("C2").Copy
Sheets("blank timesheet (2)").Select
Sheets("blank timesheet (2)").Name = "blank timesheet (2)"
Application.CutCopyMode = False
Sheets("data in").Select
Range("s2:al100").Copy
Range("s1").PasteSpecial xlPasteValues
Elseif
x.Offset(1, o0).Select
Loop Until x = " "
End Su
