Hi there,
The goal of the macro is to copy a named range(table) from one sheet to a specific place in another sheet within the same workbook. The destination cell is bounded by some other text. Here is a sample layout (sample file also attached):
Some text
***Copied table***
Some text
The copied table can be of variable size and the "Some text" should wrap that table.
I came up with the code below but there is a problem when the following line is executed
However, if I uncomment the following line in the code it works finePlease Login or Register to view this content.
Below is the full macro code:Please Login or Register to view this content.
I had to use the "ugly workaround", which is commented out in a code, to make the macro work and it does what I want but I still do not understand why I get that "Object required" error.Please Login or Register to view this content.
Any help would be appreciated.
Thank you in advance,
Merdan
Bookmarks