Eric Penfold
Active Member
- Joined
- Nov 19, 2021
- Messages
- 431
- Office Version
- 365
- Platform
- Windows
- Mobile
Active cell in column A into a form text code. When I click on a active cell I need it to fill form Textbox. The code below does not work? Click on the cell but nothing happens.
VBA Code:
Private Sub Enter_Number_SheetClick(ByVal Sh As Object, ByVal Target As Range)
Dim ws As Worksheet
Set ws = ActiveSheet
With ws
If ActiveCell.Column > 1 Then
Me.Enter_Number = ActiveCell.Value
End If
End With
End Sub
Last edited: