Re: I want to double click a box and have an X inserted there?

Tech-Archive recommends: Fix windows errors by optimizing your registry



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 <JLM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I am setting up a cover *** 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?

.


Quantcast