Assigning worksheet to worksheet variable
Hi!
I'm trying to assign a copied worksheet to a worksheet variable using the
following code:
Dim sSheet As New Excel.Worksheet
Set sSheet = Sheets("Template").Copy(Befo=Sheets("Template") )
This doesn't work.
Any ideas?
TIA
PO
|