How do i have a check display with any data entry in a cell
You could use event code behind the worksheet.
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Column 8 Then Exit Sub
On Error GoTo ErrHandler
Application.EnableEvents = False
With Target
.Value = "a"
.Font.Name = "Marlett"
.FontStyle = "Regular"
.Size = 10
End With
ErrHandler:
Application.EnableEvents = True
End Sub
Right-click on the sheet tab and "View Code"
Copy/paste the event code into that module.
As written it operates on first 8 columns only.
Gord Dibben Excel MVP
On Fri, 18 Nov 2005 08:55:10 -0800, "jwomack"
wrote:
I am creating a simple spreadsheet for teachers and want to have only a check
mark displayed regardless of what they type into a cell.
|