Closed MarcoBorn closed 4 years ago
I get the following error message:
Failed to proceed Method on Excel.Worksheet=>Copy. bei NetOffice.Invoker.Method(ICOMObject comObject, String name, Object[] paramsArray) bei NetOffice.CoreMethodExtensions.ExecuteMethod(Core value, ICOMObject caller, String name, Object argument)
when I try to us the following command:
With ObjAppXL .Workbooks(StrQuellDatei).Sheets("Hinweise").Copy(before:= .Workbooks(StrZielDatei).Sheets(1)) End With
The variables ObjAppXL, StrQuellDatei and StrQuellDatei were set before and accessing them also made no errors.
Please, provide more information about your issue.
The Worksheet.Copy works in latest NetOffice library when used as in you example.
Worksheet.Copy
Closing as there is no more information from issue opener.
I get the following error message:
when I try to us the following command:
The variables ObjAppXL, StrQuellDatei and StrQuellDatei were set before and accessing them also made no errors.