I have a user form that activates an input box
The code to activate the inputbox is
When the input box is activcated, I would like to select the cell containing the value to be copied and pasted into the input box
It would be appreciated if someone could kindly advise how to do this and provide me with the code
The code to activate the inputbox is
Code:
Sub Input_Value()
Dim StartDate As String, EndDate As String, Arr As Variant
With Sheets("Imported Data")
.Range("Z1").Value = InputBox("Enter the value")
End With
End Sub
When the input box is activcated, I would like to select the cell containing the value to be copied and pasted into the input box
It would be appreciated if someone could kindly advise how to do this and provide me with the code