By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,978 Members | 1,467 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,978 IT Pros & Developers. It's quick & easy.

VBA commandbar - lost inputted text

P: 98
Hello,

I have a small problem with a VBA commandbar I'm using in Word 2003.

I created the toolbar -which works fine - and added some controls like :

TBar.Controls.Add(Type:=msoControlEdit)

But if I type in some text in that input field and switch to another element with the mouse, the inputted text is lost, whereas if I switch with the tab key, the text stays.

How can I attach a lostfocus on that control ?

Thanks a lot,

Lars
Jan 22 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.