D
dsc
I have a user form with a text box and a list box. I found some code on the
net and put it into my macro like this:
Private Sub ListBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
If ListBox1.CanPaste = True Then
TextBox1 = ListBox1.Value
Else
TextBox1.Text = "Can't Paste"
End If
End Sub
Works fine on all my machines at home, and on all the machines at work
except one. That one always goes to "Else" TextBox1.Text = "Can't Paste"
Does anyone have any idea why this would be happening?
Thanks for any assistance.
net and put it into my macro like this:
Private Sub ListBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
If ListBox1.CanPaste = True Then
TextBox1 = ListBox1.Value
Else
TextBox1.Text = "Can't Paste"
End If
End Sub
Works fine on all my machines at home, and on all the machines at work
except one. That one always goes to "Else" TextBox1.Text = "Can't Paste"
Does anyone have any idea why this would be happening?
Thanks for any assistance.