check box counter

  • Thread starter Thread starter rexmann
  • Start date Start date
R

rexmann

Hi All

I have a mamoth job of data entry and need to enter results with a yes/no
answer. Is there a way of setting up excel so you click in the cell and it
puts a tick or cross (or number)?

I am using Excel 2003 professional

Cheers Rexmann
 
You don't give too much information but this will put a tick in A1 _ A100
whenever 1 of those cells is selected

Right click your sheet tab, view code and paste it in

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect(Target, Range("A1:A100")) Is Nothing Then
Target.Font.Name = "WingDings 2"
Target.Value = "P"
End If
End Sub

Mike
 
hi
how about a double click on the cell.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
Dim r As Range
Set r = Range("B1:B10") 'change to suit
If Target.Column <> r.Column Then Exit Sub
With r.Font
.Name = "Marlett"
End With
ActiveCell.FormulaR1C1 = "'a"
End Sub

regards
FSt1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Delete spaces 4
Capitals 3
Split column on first space 2
Month(A1) in 2007 5
Pivot value not formula 1
Vlookup - value not formula 1
Vlookup - actual value not the formula 3
If 2 columns have #N/A 2

Back
Top