LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Checkbox macro question...

Why not have your macro differentiate whether the checkbox is set or not?

If it is a forms checkbox, you just test like so

If ActiveSheet.CheckBoxes(Application.Caller).Value = 1 Then
'checkbox ticked
Else
'not ticked
End If


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"theeyecollector"
<theeyecollector.22k9fn_1138814701.8636@excelfor um-nospam.com wrote in
message news:theeyecollector.22k9fn_1138814701.8636@excelf orum-nospam.com...

I'm currently creating a model to help with budgeting for a dance that's
being organised at my school. I have checkboxes to tick as each thing is
paid for, (e.g. marquee) and I've set up an appropriate macro to deduct
the amount each item costs, from the total amount of money remaining.

I was just wondering if it's possible to assign different macros to
check boxes for when you tick and untick them - it would be really
useful to have the facility to untick a box, (*as well* as keeping the
macro described above for when the box is ticked) and then have the
cost of that item added back to the total money remaining.

Thanks for any help.
(Oh, and if you can, please don't make it too technical - I'm
proficient at Excel, but not amazing!)


--
theeyecollector
------------------------------------------------------------------------
theeyecollector's Profile:

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



 
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
Checkbox Question slow386 Excel Discussion (Misc queries) 7 July 21st 07 12:06 AM
Checkbox Question MCrum Excel Discussion (Misc queries) 1 January 15th 07 12:38 PM
Checkbox question Adam Kroger Excel Discussion (Misc queries) 0 December 19th 05 12:41 PM
Checkbox question Patrick Simonds Excel Programming 6 July 31st 05 05:49 PM
CheckBox question Frank Rudd via OfficeKB.com Excel Programming 2 July 1st 05 12:35 AM


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