Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Urgent - how to run textbox exit sub?
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Urgent - how to run textbox exit sub?
Call txtIncPercent_Exit(True)
or Call txtIncPercent_Exit(False) wrote: 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 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Urgent - how to run textbox exit sub?
I receive an error message telling me "Incompatible types". What is
that? Regards, S John skrev: Call txtIncPercent_Exit(True) or Call txtIncPercent_Exit(False) wrote: 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 |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Urgent - how to run textbox exit sub?
I still get the same message...
Regards, S Bob Phillips skrev: 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Private Textbox Exit Sub question... | Excel Worksheet Functions | |||
Exit Event with a single textbox control | Excel Programming | |||
Button clicks and textbox Exit events | Excel Programming | |||
Format textbox on exit | Excel Programming | |||
How To Get An Event To Run When I Exit A TextBox | Excel Programming |