Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you select a cell and press F2, or double click it, the cell will go into
edit mode. I am using the following code to insert ticks and crosses in blank cells: Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) If ActiveCell = "û" Or Len(ActiveCell) = 0 Then ActiveCell.Font.Name = "Wingdings" ActiveCell.Font.Size = "14" ActiveCell.Font.ColorIndex = 50 ActiveCell = "ü" Else If ActiveCell = "ü" Then ActiveCell.Font.Name = "Wingdings" ActiveCell.Font.Size = "14" ActiveCell.Font.Color = vbRed ActiveCell = "û" End If End If End Sub After this code has run the cell goes into edit mode, and as the code runs 'BeforeDoubleClick' I can't get out of edit mode in the code. Any ideas? -- Adam Thwaites Access Database Designer Manchester, UK |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
run procedure when exit design mode | Excel Discussion (Misc queries) | |||
Cells no longer highlighted in XL2003 edit mode? | Excel Discussion (Misc queries) | |||
I can't exit from Design mode anymore | Excel Discussion (Misc queries) | |||
What is procedure to exit formula auditing mode? | Excel Discussion (Misc queries) | |||
Combo Box goes to edit mode even if design mode is in OFF position | Excel Discussion (Misc queries) |