View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Urgent - how to run textbox exit sub?

Dim ans As Boolean
Call TextBox1_Exit(ans)


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
ups.com...
I have a sub behind a textbox in a VBA form like this:

Private Sub txtIncPercent_Exit(ByVal Cancel As MSForms.ReturnBoolean)
..
End Sub

How can I run the above sub from another sub?

Regards,

S