#1   Report Post  
Posted to microsoft.public.excel.misc
Paul23
 
Posts: n/a
Default Copying Worksheets

I have an Excel worksheet to do with timers and recording time etc. And I
also have some other command buttons within that. One of them will create
(and does) a new workbook, with all the data and command buttons. The other
however should create a new worksheet with the all the other command buttons
and each time i press it, it just copys the data over, without the command
buttons. I need it to copy the command buttons and each time i press it i
want it to create one in a different worksheet, but it only does it in the
next one. And i am pretty stuck. Any help is much appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Copying Worksheets

Are your buttons/controls from the control toolbox toolbar?

If yes, then the code associated with those controls will travel if you copy the
whole worksheet--not just the cells.

You'd do the equivalent in code of Edit|move or copy sheet.

If your code that does the copying doesn't copy this way, you may want to
consider changing that portion.

Paul23 wrote:

I have an Excel worksheet to do with timers and recording time etc. And I
also have some other command buttons within that. One of them will create
(and does) a new workbook, with all the data and command buttons. The other
however should create a new worksheet with the all the other command buttons
and each time i press it, it just copys the data over, without the command
buttons. I need it to copy the command buttons and each time i press it i
want it to create one in a different worksheet, but it only does it in the
next one. And i am pretty stuck. Any help is much appreciated.


--

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
zero value when copying cells between worksheets joe Excel Discussion (Misc queries) 1 August 9th 05 08:51 PM
Copying multiple Worksheets Dor474c Excel Discussion (Misc queries) 0 June 29th 05 10:10 PM
Copying information from multiple worksheets into one ShahAFFS Excel Discussion (Misc queries) 2 May 25th 05 03:21 PM
copying cells from other worksheets yesbob Excel Discussion (Misc queries) 1 February 7th 05 05:18 PM
copying worksheets tea1952 Excel Discussion (Misc queries) 2 January 5th 05 07:11 PM


All times are GMT +1. The time now is 02:44 AM.

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"