Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am setting up a cover sheet that I want to have the user double click a box
and have an X inserted in the box or a check. How do I complete this task? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
What is a "box"? A cell?
You would need event code to achieve the double-click in a cell. Private Sub Worksheet_BeforeDoubleClick _ (ByVal Target As Range, Cancel As Boolean) Target.Value = "a" Target.Font.Name = "Marlett" Cancel = True End Sub Might be easier to format the cell to Marlett font and just type an "a" to return a checkmark and dispense with the double-clicking. Gord Dibben MS Excel MVP On Tue, 9 Oct 2007 12:49:02 -0700, JLM wrote: I am setting up a cover sheet that I want to have the user double click a box and have an X inserted in the box or a check. How do I complete this task? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You are correct, I am using a cell with a border and I wish it to be filled
in when double clicking on the cell kind of like in word. I am using this to create a pricing system and linking this to numerical data. "Gord Dibben" wrote: What is a "box"? A cell? You would need event code to achieve the double-click in a cell. Private Sub Worksheet_BeforeDoubleClick _ (ByVal Target As Range, Cancel As Boolean) Target.Value = "a" Target.Font.Name = "Marlett" Cancel = True End Sub Might be easier to format the cell to Marlett font and just type an "a" to return a checkmark and dispense with the double-clicking. Gord Dibben MS Excel MVP On Tue, 9 Oct 2007 12:49:02 -0700, JLM wrote: I am setting up a cover sheet that I want to have the user double click a box and have an X inserted in the box or a check. How do I complete this task? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Then either of the methods I gave will enter a checkmark in the cell.
How you would link these to numeric data is another problem which I hope you have solved. Gord On Tue, 9 Oct 2007 13:57:00 -0700, JLM wrote: You are correct, I am using a cell with a border and I wish it to be filled in when double clicking on the cell kind of like in word. I am using this to create a pricing system and linking this to numerical data. "Gord Dibben" wrote: What is a "box"? A cell? You would need event code to achieve the double-click in a cell. Private Sub Worksheet_BeforeDoubleClick _ (ByVal Target As Range, Cancel As Boolean) Target.Value = "a" Target.Font.Name = "Marlett" Cancel = True End Sub Might be easier to format the cell to Marlett font and just type an "a" to return a checkmark and dispense with the double-clicking. Gord Dibben MS Excel MVP On Tue, 9 Oct 2007 12:49:02 -0700, JLM wrote: I am setting up a cover sheet that I want to have the user double click a box and have an X inserted in the box or a check. How do I complete this task? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
double click | Excel Discussion (Misc queries) | |||
Double click | Excel Discussion (Misc queries) | |||
Disabling click and right-click on the Picture I inserted in an Excel document | Excel Worksheet Functions | |||
Click on graph bar to execute a double-click in a pivot table cell | Charts and Charting in Excel | |||
Before Double-Click | Excel Discussion (Misc queries) |