PDA

View Full Version : How to disable editing in Analysis for office



NAGENDRA P
10-27-2021, 10:05 AM
I need to disable edit mode in Sheet by using vba macro.
Can anyone assist?
- Button needs to be created on clicking will disable editing in active sheet of workbook

prasadk
10-27-2021, 09:49 PM
You need disable edit mode in sheet
Try this code if it is helpful to you or not





Private Sub Workbook_SheetBeforeDoubleClick(ByVal Sh As Object, _
ByVal Target As Range, Cancel As Boolean)
Cancel = True
End Sub

Paul_Hossler
10-28-2021, 04:50 PM
Lock all the cells and protect the sheet