I am very new to VBA. I try to copypaste a a worksheet to another worksheet with below code:
 Sub CopyPaste
 Dim Source As String
 Dim Destination As String
 Set Source ="\\D:\folder\source.xls"
 Set Destination="\\D:\folder\destination.xls"
 FileCopy Source, Destination
 End Sub
I mainly use the code provided in: VBA to copy a file from one directory to another
however it gives object required error. I am stuck a this point.
Thanks a lot