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

I put a button on a Excel worksheet and it has code that has a function that
I need to run in certain conditions, but I need to leave the button ready to
be used by the user. Actually if I click the button it is marked as if I were
changing its properties. What I need is that if the button is clicked the
code runs and execute the function.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default button and Excel and VBA

Hi

You have to exit Design Mode (Click the Design Mode button on the
Control Toolbox menu).

Regards,
Per

On 7 Maj, 01:45, Egomez wrote:
I put a button on a Excel worksheet and it has code that has a function that
I need to run in certain conditions, but I need to leave the button *ready to
be used by the user. Actually if I click the button it is marked as if I were
changing its properties. What I need is that if the button is clicked the
code runs and execute the function.

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
Stop running macro button, like Ctrl-Break button h2fcell Excel Programming 8 January 23rd 09 04:01 PM
Stop running macro button, like Ctrl-Break button Dave Peterson Excel Programming 1 January 22nd 09 05:23 PM
Stop running macro button, like Ctrl-Break button Ronald R. Dodge, Jr.[_2_] Excel Programming 0 January 22nd 09 04:59 PM
Create floating button based on button click in menu ExcelMonkey Excel Programming 2 October 12th 05 06:43 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


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