ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to copy an excel sheet with out using paste metod. (https://www.excelbanter.com/excel-programming/361161-how-copy-excel-sheet-out-using-paste-metod.html)

jaffar

how to copy an excel sheet with out using paste metod.
 
Hi,

I have a macro , using this macro i can copy an excel sheet into
another excel sheet, but i used paste method ( pastespecial
paste:=xlpastevalues),

I want the same functionality with out using paste method,

How can i do this task?

Thanks in advance
Jaffar.



Ivan Raiminius

how to copy an excel sheet with out using paste metod.
 
Hi Jaffar,

try something like this:

Sheets("somesheet").Copy
Befo=workbooks("someworkbook").Sheets("someothe rsheet")

Regards,
Ivan



All times are GMT +1. The time now is 02:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com