Originally Posted by
wideboy
im sorry again, it was part of some code I copied and pasted...it does not mean anything
Okay, try this...
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Not Intersect(Target, Range("AD:AD")) Is Nothing Then
Dim Object99 As String
Object99 = Application.WorksheetFunction.VLookup(Target.Value, Worksheets("email").Range("b:c"), 2, False)
Application.ScreenUpdating = False
Sheets("email").OLEObjects(Object99).Verb
Me.Activate
Application.ScreenUpdating = True
Cancel = True
End If
End Sub
Bookmarks