Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Copying buttons

Sounds like stephanie and I are living in parallel universes ---

I have 8 buttons on a worksheet that are local (private) to that sheet.
I want to copy them (and the code) to several other sheets. Is there
any way to do this without building them individually on each sheet? I
don't want to use the "copy sheet" function. Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Copying buttons

No. You can just add them (use the macro recorder to see how) and add the code

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

If you used buttons from the forms toolbar, you wouldn't have to do that.
You could design your macro to work with whichever button called it, so you
would only need to add the buttons and assign their onaction property to the
appropriate macro.

Who is Stephanie?

--
Regards,
Tom Ogilvy


"jim9912" wrote:

Sounds like stephanie and I are living in parallel universes ---

I have 8 buttons on a worksheet that are local (private) to that sheet.
I want to copy them (and the code) to several other sheets. Is there
any way to do this without building them individually on each sheet? I
don't want to use the "copy sheet" function. Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Copying buttons

Thanks, I dont know why I didn't think of that. Thanks for the
timesaver.

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
Option Buttons/Radio Buttons John Calder New Users to Excel 7 May 16th 08 03:51 AM
Form buttons vs. ActiveX Buttons GeorgeJ Excel Discussion (Misc queries) 3 August 11th 07 09:02 PM
have toggle buttons but everytime print preview buttons move TinSandhu Excel Discussion (Misc queries) 1 October 11th 06 02:57 PM
Copying Sheets with Option Buttons Mahugh Excel Programming 0 May 4th 04 06:56 PM
Control Buttons vs. Command Buttons Robert Gibson Excel Programming 1 October 13th 03 04:33 PM


All times are GMT +1. The time now is 08:05 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"