Copy Method Of Worksheet Class Failed. Its not the sheet names either since it doesn't matter which of the records I. Hi, Am getting an error that says 'copy method of worksheet class failed".
You can copy worksheets from one workbook to another workbook, and specify to insert after or before specific Syntax of Excel VBA Worksheets. I am trying to copy a range of values (with format) from one excel to another but it keeps telling me "Paste method of worksheet class failed". I really appreciate your time for this.
Read up on the difference between Activate and Select.
All of my functions I am using for Excel are working fine (or as.
I tried your code and it repeatedly failed at pastespecial. There are a few different ways to accomplish this task, and the macro recorder doesn't always give you the most efficient VBA code. It seems you cant copy one sheet to another workbook unless the workbook is visible?