Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Copy Button with worksheet

When copying the contents of one worksheet to another
worksheet using a macro, is there a way to also copy a
button from the original worksheet to the duplicate
worksheet?

If not, is there an easy way to add code to the macro to
create a new button?


Thanks

S.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Copy Button with worksheet

Turn on the macro recorder and perform either action manually. Turn off the
macro recorder. You can then examine the code recorded.

A button with no macro assigned to it seems less than useful. Look at Chip
Pearson's site for creating code with code:

http://www.cpearson.com/excel/vbe.htm


--
Regards,
Tom Ogilvy

"S. S." wrote in message
...
When copying the contents of one worksheet to another
worksheet using a macro, is there a way to also copy a
button from the original worksheet to the duplicate
worksheet?

If not, is there an easy way to add code to the macro to
create a new button?


Thanks

S.



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
add or copy a sheet by button ghost Excel Discussion (Misc queries) 1 February 20th 08 10:42 PM
print different worksheet by pressing visible button on worksheet Confused Excel Worksheet Functions 2 June 13th 05 02:22 PM
Using Command Button to copy cells Pennington Excel Discussion (Misc queries) 1 April 29th 05 02:30 AM
Copy button images raj Excel Programming 1 November 6th 03 04:27 PM
copy and delete command button Mark Kubicki Excel Programming 0 October 6th 03 08:20 PM


All times are GMT +1. The time now is 04:43 AM.

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

About Us

"It's about Microsoft Excel"