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

I would like to place a control button linked to a macro on a spreadsheet.
When I open the controls tool bar and create the button desired, I can't
seem to be able to attach a macro to it. Help says I should be able to
right-click and have that option, but it's not there. What am I doing
wrong?
Thanks,
Mnaut


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Embedded button

There are two types of command buttons available in Excel. The
first is on the Forms toolbar, and when you right click it, you
will see the 'Assign Macro' option. The second type is on the
Controls toolbar, and when you right click it, you will see an
option for 'View Code'. If you select this, you will be taken to
that button's Click event procedure in the worksheet module.
Place your code in that event procedure.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"MNaut" wrote in message
...
I would like to place a control button linked to a macro on a

spreadsheet.
When I open the controls tool bar and create the button

desired, I can't
seem to be able to attach a macro to it. Help says I should be

able to
right-click and have that option, but it's not there. What am

I doing
wrong?
Thanks,
Mnaut




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
How do I remove a "Print Report" button embedded on spreadsheet? CleveCoop Excel Discussion (Misc queries) 2 May 17th 08 03:31 AM
How do I lock a radio button group if a N/A button is selected worry a lot Excel Discussion (Misc queries) 2 May 21st 05 08:33 PM
Delete a custom button by holding down the ALT key and dragging the button off the toolbar Stephen[_8_] Excel Programming 0 April 4th 04 02:22 PM
Embedded command button doesn't respond in new window Jim Cable Excel Programming 0 February 20th 04 03:38 PM
Printing a WorkSheet with an embedded command button Rich[_12_] Excel Programming 1 July 28th 03 01:23 AM


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