Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Command Button- Assign Macro & Sheet Protection problem


I have created inserted a Button and assinged a Macro to it.

I have tried Form Control Command Button and Active ControlX Command
Button but encounetring thr following problems...

2 questions...

The Buttons do not work when the sheet is protected. How can I overcome
this

The Form Control Button does not allow me to Colour the Button, so I
assume I have to replace it with a Active Control X Command Button, but
how do I assign a Macro to this. I dont get the option when I right
click.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
No Name
 
Posts: n/a
Default Command Button- Assign Macro & Sheet Protection problem

hi,

can't see why they would not work in protected sheet

connect code
via developper tab activate the design mode
right click the button and choose assign macro - edit macro /view code
put your code between sub and end sub
-
don't forget to deactivate teh design mode when testing

greetz

"Yunus" schreef in bericht
m...


I have created inserted a Button and assinged a Macro to it.

I have tried Form Control Command Button and Active ControlX Command
Button but encounetring thr following problems...

2 questions...

The Buttons do not work when the sheet is protected. How can I overcome
this

The Form Control Button does not allow me to Colour the Button, so I
assume I have to replace it with a Active Control X Command Button, but
how do I assign a Macro to this. I dont get the option when I right
click.

Thanks

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 to command button T De Villiers[_96_] Excel Programming 5 November 9th 06 05:33 PM
Assign Macro to Command Button adamaagard Excel Programming 2 February 11th 06 04:36 PM
Assign a macro to a command button Tom E Excel Programming 3 July 8th 05 08:31 PM
command button and assign macro Dave Peterson[_3_] Excel Programming 2 May 27th 04 03:01 AM
Assign Macro to Command Button Shunt Excel Programming 1 August 7th 03 02:07 PM


All times are GMT +1. The time now is 03:49 PM.

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"