|
-
Apr 15th, 2005, 03:55 AM
#1
Thread Starter
New Member
TextBox1.SetFocus doesn't work (word2003)
hi there,
I made a very simple vba program using word2003 with 3 texboxen for input, and some labels for calculated output ( simlpe tax caculation with variable tax % ), 1 commandbutton to start calculating, and 1 commanbutton to " reset" the whole thing( clears the 2 input textboxen, and keeps the tax % texbox).
all works well, but when i push the Reset button, all gets erased, but the setfocus won't work.
code ( when reset button is pushed) is something like:
textbox1.text = clear
...
texbox1.setfocus
end
i would also like to use the tab key to go from inputbox to inputbox, how do i achieve that ?
greets and thanks in advance
sven
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|