Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am looking for a way to create a copy of the current active worksheet using a
macro. Is there a way to do this by telling the macro, make a copy of this current "active" worksheet. I know how to do this by making a copy of an original "master" worksheet, but I want update the "active" worksheet that never has the same name. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Where do you want the copy? In the same workbook or a new workbook?
activesheet.copy 'will copy it to a new workbook. or Activesheet.copy _ after:=activesheet 'now the copied sheet is active activesheet.name = "NiceUniqueNameHere" will copy it right after itself and rename it. Birdy92 wrote: I am looking for a way to create a copy of the current active worksheet using a macro. Is there a way to do this by telling the macro, make a copy of this current "active" worksheet. I know how to do this by making a copy of an original "master" worksheet, but I want update the "active" worksheet that never has the same name. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy worksheet into current workbook | Excel Discussion (Misc queries) | |||
Copy a cell from another worksheet and create a line wrap | Excel Discussion (Misc queries) | |||
Dynamicaly create/copy a new row in another worksheet | Excel Worksheet Functions | |||
create a macro to copy a worksheet into another | Excel Discussion (Misc queries) | |||
Why does excel create a copy of the worksheet i open | Excel Discussion (Misc queries) |