Hi Guys,
Thanks for the help.
Norman, I put your code in Module1 in my "v6-20061001.xls", changing
it thus:
Public Sub Tester002()
Dim WB1 As Workbook
Dim WB2 As Workbook
Dim SH As Worksheet
Set WB1 = Workbooks("E:\Work\New\Backup\Backup.xls") '<<====
CHANGE
Set WB2 = Workbooks("E:\Work\New\v6-20061001.xls") '<<====
CHANGE
Set SH = WB1.Sheets("Sheet4") '<<==== CHANGE
SH.Copy Before:=WB2.Sheets(3)
End Sub
When I run it now, on Line 'Set WB1 = ....', I get
Can't move focus to the control because it is invisible, not enabled,
or of a type that does not accept the focus.
However, on the next (and subsequent) runs the error message changes
to 'Subscript out of range'. On the same line.
The change suggested by DriverDB, execution didn't reach that far to
see what happens. There's 4 sheets in the workbook and it's
the 4th one I need back. I assume, at worst, it might copy the
'wrong' sheet and I should be able to fix that ?
Many thanks - Kirk