Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
Could somebody look at the following code and, essentially, make it work please? Private Sub CommandButton2_Click() Dim Target As Range On Error GoTo ws_exit: Application.EnableEvents = False If Not Intersect(Target.Me.Range("L4:L10000")) Is Nothing Then With Target If .Value = "P" Then .Offset(0, 1).Value = TextBox1.Text 'copies text box data to cell End If End With 'Cancel = True End If TIA -- Traa Dy Liooar Jock |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Verify Canadian Postal Code ~ make the code work | Excel Programming | |||
Why does this code not work? | Excel Discussion (Misc queries) | |||
Code Does Not Work | Excel Programming | |||
Help getting code to work. | Excel Programming | |||
Code won't work? | Excel Programming |