Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Cuyahogen
 
Posts: n/a
Default Cannot assign a macro using right-click


Hi everybody,

I am running Excel 2000 and would like to assign macros to buttons in
some of the spreadsheets that I use.

Right-click works, but there is no option to assign a macro.

Somehow the button I create always becomes an ActiveX control - don't
know if this is relevant.

Any help or advice gratefully received.


--
Cuyahogen
------------------------------------------------------------------------
Cuyahogen's Profile: http://www.excelforum.com/member.php...o&userid=25478
View this thread: http://www.excelforum.com/showthread...hreadid=389310

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

It is indeed. You have the controls toolbar showing, not the forms toolbar.

Go to ToolsCustomizeToolbar and click Forms, then select your button from
there.

--
HTH

Bob Phillips

"Cuyahogen" wrote
in message ...

Hi everybody,

I am running Excel 2000 and would like to assign macros to buttons in
some of the spreadsheets that I use.

Right-click works, but there is no option to assign a macro.

Somehow the button I create always becomes an ActiveX control - don't
know if this is relevant.

Any help or advice gratefully received.


--
Cuyahogen
------------------------------------------------------------------------
Cuyahogen's Profile:

http://www.excelforum.com/member.php...o&userid=25478
View this thread: http://www.excelforum.com/showthread...hreadid=389310



  #3   Report Post  
dominicb
 
Posts: n/a
Default


Good afternoon Cuyahogen

Have you designed the buttons from the Control Toolbox? If so the code
needs to be placed as an event in the appropriate worksheet space in the
VBE.

However, if you want to use the assign macro feature, scrap the buttons
you've got and design your buttons again using the Forms toolbar. These
buttons will have the Assign command in the right click menu.

HTH

DominicB


--
dominicb
------------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=389310

  #4   Report Post  
Cuyahogen
 
Posts: n/a
Default


Thanks to both.

You were right, of course. I have now brought up the 'forms' toolbar,
and 'assign macro' is there - but it's greyed-out!

Is there any way I can ungrey it without being an administrator?

Thanks again.


--
Cuyahogen
------------------------------------------------------------------------
Cuyahogen's Profile: http://www.excelforum.com/member.php...o&userid=25478
View this thread: http://www.excelforum.com/showthread...hreadid=389310

  #5   Report Post  
Cuyahogen
 
Posts: n/a
Default


Please ignore my last post. It works! It works!


--
Cuyahogen
------------------------------------------------------------------------
Cuyahogen's Profile: http://www.excelforum.com/member.php...o&userid=25478
View this thread: http://www.excelforum.com/showthread...hreadid=389310



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
Assign Macro SUE M Excel Discussion (Misc queries) 1 September 22nd 07 09:00 PM
Assign a macro to Command Button Object dallin Excel Discussion (Misc queries) 2 July 13th 05 03:50 AM
Assign to macro missing Paul Excel Discussion (Misc queries) 2 January 22nd 05 09:55 AM
Assign Macro to button in Excel doesnt work Any ideas? Mike@Becketts Excel Discussion (Misc queries) 2 December 20th 04 02:47 PM
assign a macro to a control button ewan72 Excel Discussion (Misc queries) 1 December 3rd 04 02:04 PM


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