TextBox1_Exit niet uitvoeren!

B

BBert

Goedenavond beste deskundigen,

Bij het verlaten van TextBox1 op een UserForm wordt in onderstaande
voorbeeld de MsgBox getoond. Prima! Maar als ik TextBox1 verlaat door op
Cancel of het kruisje (rechtsboven) te klikken, wil ik die Msgbox niet
meer zien. Het UserForm wordt immers gecanceld en dan hoeven er geen
boodschappen getoond te worden (of controles uitgevoerd te worden). Hoe
zou ik dat aan kunnen pakken?

Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
MsgBox "Dit is het Einde"
End Sub

--
Met vriendelijke groeten / Mit freundlichen Grüßen / With kind
regards/Avec mes meilleures salutations
BBert

April 20, 1986
Celtics (135) - Bulls (131)
Larry Bird: "God disguised as Michael Jordan"
 
B

BBert

On Thu, 21 Jul 2005 22:35:17 +0200, BBert wrote...

Sorry I posted this in the wrong group. Should be in the Dutch Excel
group.
--
Met vriendelijke groeten / Mit freundlichen Grüßen / With kind
regards/Avec mes meilleures salutations
BBert

April 20, 1986
Celtics (135) - Bulls (131)
Larry Bird: "God disguised as Michael Jordan"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top