Results 1 to 3 of 3

Thread: Excel VBA Code help

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,709
    Location
    Option Explicit
    
    Dim DClckd As Boolean
    
    Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
    DClckd = True
    End Sub
    
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
        DClckd = False
    End Sub
    
    Private Sub Worksheet_Change(ByVal Target As Range)
    MsgBox Target.Address
    End Sub
    Last edited by SamT; 03-12-2021 at 09:13 PM.
    Please take the time to read the Forum FAQ

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •