Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
nevwalters
 
Posts: n/a
Default checkbox event handling function

how to get a cell to handle a checkbox event to do a function/calculation
using other cell data? Have tried this code in cell, =IF(CheckBox2_Click() =
TRUE,L49 + (L49 * F41 / 100),0)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default checkbox event handling function

"nevwalters" wrote:
how to get a cell to handle a checkbox event to do a function/calculation
using other cell data? Have tried this code in cell, =IF(CheckBox2_Click() =
TRUE,L49 + (L49 * F41 / 100),0)


Assuming it's a forms checkbox,

Right-click on the checkbox Format Control
Enter as the Cell Link: X49 (say), click OK

Then we could put in say, M49:
=IF(X49, L49 + (L49 * F41 / 100),0)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default checkbox event handling function

Hi!

Link the checkbox to a cell then refer to that cell:

Linked cell = A1

=IF(A1,L49 + (L49 * F41 / 100),0)

Or:

=IF(A1=TRUE,L49 + (L49 * F41 / 100),0)

It looks like you're using a ckbx from the control toolbox so open the
control toolbox. Enter design mode. Right click on the ckbx and select
Properties. Find LinkedCell and enter the cell you want to link to this
ckbx, in this example, A1. Close the Properties dialog, exit design mode,
close the control toolbox.

Biff

"nevwalters" wrote in message
...
how to get a cell to handle a checkbox event to do a function/calculation
using other cell data? Have tried this code in cell, =IF(CheckBox2_Click()
=
TRUE,L49 + (L49 * F41 / 100),0)



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
Is there a way for excel to recognise that €0.00 = 0 for the purposes IF function ? CmTaz Excel Discussion (Misc queries) 4 March 6th 06 03:45 AM
using a checkbox for a conditional function Brac Excel Worksheet Functions 4 December 8th 05 06:12 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Event hundler to control the Excel function arguments Yattabi Excel Worksheet Functions 0 December 6th 04 10:41 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


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