Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create Copy of Current Worksheet

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Create Copy of Current Worksheet

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy worksheet into current workbook Gerard Excel Discussion (Misc queries) 0 February 19th 10 03:31 PM
Copy a cell from another worksheet and create a line wrap Vic Excel Discussion (Misc queries) 1 April 9th 09 01:55 PM
Dynamicaly create/copy a new row in another worksheet phocused Excel Worksheet Functions 0 January 5th 07 03:43 PM
create a macro to copy a worksheet into another Sean Excel Discussion (Misc queries) 7 October 18th 06 10:19 PM
Why does excel create a copy of the worksheet i open Renee Excel Discussion (Misc queries) 4 March 2nd 05 06:17 PM


All times are GMT +1. The time now is 08:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"