if Criteria equals set tick box to true, is it possible

ShirleyC

New Member
Joined
Sep 25, 2008
Messages
40
Hi I am looking for a formula for the following?

If g11="discount" set a tick box in g13 to true

Is this possible?

Thanks in advance
Shirley
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Why do you need a Tick Box in G13? Can you not use the word "True" or perhaps a simulated checkbox?

lenze
 
Upvote 0
As part of A/S level coursework pupils must include a tick box and thought it would be a better use than simply manually ticking it
 
Upvote 0
Hi, This is not a formula, But you might get some Brownie points with this, then again maybe not.
One code is for "Forms" Tick Box and the Other for "ActiveX" (View, "ToolBar", "Control ToolBox").
Place a Tick Box on sheet, Right Click "Tab" Select "View Code" Paste Either code (depending) in VB Window.
Close VB Editor, run code by inserting/removing "discount"
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Range("G11").Value = "discount" Then
 ActiveSheet.Shapes("Check Box 4").ControlFormat.Value = False
Else
ActiveSheet.Shapes("Check Box 4").ControlFormat.Value = True
End If
Code:
If Range("G11").Value = "discount" Then
CheckBox1.Value = True
Else
CheckBox1.Value = False
End If
End Sub
Regards Mick
 
Upvote 0

Forum statistics

Threads
1,214,839
Messages
6,121,887
Members
449,057
Latest member
Moo4247

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top