rickincanada
Board Regular
- Joined
- Aug 31, 2010
- Messages
- 61
I have a need to display a user form using the BeforeDoubleClick Event in VBA. The problem I'm having is that the cell I want the user to double-click in is locked and the sheet is protected. I can make it work if the cell is unlocked or if the sheet is not protected however this puts the formula in there at risk of being changed.
Here is my VBA:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Address = "$F$25:$G$25" Then
Call PriceRollback
End If
End Sub
Can anyone help me to do this without exposing this cell? Or is it even possible?
Thanks,
Rick
Here is my VBA:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Address = "$F$25:$G$25" Then
Call PriceRollback
End If
End Sub
Can anyone help me to do this without exposing this cell? Or is it even possible?
Thanks,
Rick