ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   is there anyway to create a clone of an excel sheet in vba? (https://www.excelbanter.com/excel-worksheet-functions/33943-there-anyway-create-clone-excel-sheet-vba.html)

Daniel

is there anyway to create a clone of an excel sheet in vba?
 
is there anyway to create a clone of an excel sheet in vba?



Rowan

Not sure I have understood the question but if you are wanting to use VBA to
create a copy of a sheet then something like this should work:

ActiveSheet.Copy befo=Sheets(ActiveSheet.Index)

Hope this helps
Rowan

"Daniel" wrote:

is there anyway to create a clone of an excel sheet in vba?




Bob Phillips

Right-click the tab name, select Move or Copy from the menu, select your
target book, and tick the copy checkbox.

--
HTH

Bob Phillips

"Daniel" wrote in message
...
is there anyway to create a clone of an excel sheet in vba?






All times are GMT +1. The time now is 06:56 AM.

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