Hej Igen
Det er InputBox'en I denne macro, der skal lukkes indenfor tids perioden.
Private Sub PickMouse_Click()
'*********************MOUSE PICK START**************************
Dim rRange As Range
Dim rRange1 As String
On Error Resume Next
Application.DisplayAlerts = False
Set rRange = Application.InputBox(Prompt:= _
"Vælg celle med mus", _
Title:="SPECIFY RANGE", Type:=8)
On Error GoTo 0
Application.DisplayAlerts = True
If rRange Is Nothing Then
Exit Sub
Else
Set rRange = rRange.Cells(1) 'I tilfælde hvor mere end 1 celle er valgt
rRange1 = rRange.Address
End If
ActiveSheet.Range(rRange1).Select
'*********************MOUSE PICK SLUT**************************
End Sub