Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If double click will do try the below. Select the sheet tab which you want to
work with. Right click the sheet tab and click on 'View Code'. This will launch VBE. Paste the below code to the right blank portion. Get back to to workbook and try out. Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, _ Cancel As Boolean) If Target.Borders.Value = 1 Then Target.Borders.LineStyle = xlLineStyleNone Else Target.BorderAround ColorIndex:=3, Weight:=xlThick End If Cancel = True End Sub If this post helps click Yes --------------- Jacob Skaria "Happy Proby" wrote: I have a form that one must manually "circle" either "YES' OR "NO" each in thier own cell. doesnot need to be a circle but could be a colored square border. Can anyone help? Thanks Happy Proby |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I edit a cell in Excel without clicking on the cell first? | Excel Worksheet Functions | |||
Can I toggle the value of a cell by clicking directly on the cell? | Excel Discussion (Misc queries) | |||
When double clicking on link in cell it doesn't go the cell. | Excel Discussion (Misc queries) | |||
How do I delete cell borders? | Excel Discussion (Misc queries) | |||
Why data in cell doesn't stay aligned with cell borders when prin. | Excel Discussion (Misc queries) |