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

I am creating a spreadsheet with multiple check boxes on it. There is
different code attached to each box, but when I click any box the code is
being ignored and only the first set of code is being run. How can I fix
this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default check boxes and VBA code

Do you have them all linked to the same cell. Are these from the control
toolbox toolbar or from the forms toolbar. (these are checkboxes and not
optionbuttons? ). How did you attach the code?

for Forms checkboxes:
Did you rename it after you attached it?
or for control toolbox toolbar checkboxes:
Is this a copied sheet in xl97?

Perhaps some sample code from two or three of them.

--
Regards,
Tom Ogilvy

"Paul" wrote in message
...
I am creating a spreadsheet with multiple check boxes on it. There is
different code attached to each box, but when I click any box the code is
being ignored and only the first set of code is being run. How can I fix
this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 661
Default check boxes and VBA code

I have figured out what I was doing wrong. I had some incorrect code. Thnak
You

"Tom Ogilvy" wrote:

Do you have them all linked to the same cell. Are these from the control
toolbox toolbar or from the forms toolbar. (these are checkboxes and not
optionbuttons? ). How did you attach the code?

for Forms checkboxes:
Did you rename it after you attached it?
or for control toolbox toolbar checkboxes:
Is this a copied sheet in xl97?

Perhaps some sample code from two or three of them.

--
Regards,
Tom Ogilvy

"Paul" wrote in message
...
I am creating a spreadsheet with multiple check boxes on it. There is
different code attached to each box, but when I click any box the code is
being ignored and only the first set of code is being run. How can I fix
this?




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
VBA code for the Check Boxes in a form HKS Excel Discussion (Misc queries) 3 June 24th 08 09:42 PM
CODE FOR CHECK BOXES, AND EXCEL AS ATTACHMENT ! jay dean Excel Programming 3 May 26th 04 09:22 PM
Code for many check boxes Bob Excel Programming 5 January 24th 04 03:48 AM
Code for Many check boxes Bob Excel Programming 0 January 23rd 04 02:16 AM
code to hide check boxes Matt Excel Programming 4 January 10th 04 06:31 PM


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