Copy worksheet from one workbook to another workbook in MS Office Excel

Closed
SrinivasNittala - 28 Dec 2018 à 07:15
 Blocked Profile - 28 Dec 2018 à 10:16
Hello,

In the Move/ Copy dialogue box, the destination workbook is not visible to copy the worksheet from the source file.
Related:

1 response

Blocked Profile
28 Dec 2018 à 10:16
Check for its existance with:

Function sheetexist(whatsheet)
On Error GoTo NotExists

ThisWorkbook.Worksheets(whatsheet).Select
sheetexist = True
Exit Function

NotExists:
sheetexist = False

End Function