LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default TAB properties in a UserForm - Requesting Help from Excel VBA Guru


Hello All,

I'm having a difficult time with a rather simple bug (or so I hope). Using
VBA, I've created a UserForm. Once Data is entered, it is submitted and then
inserted into an Excel Worksheet. This is done with the usual code, for
example:

Cells(x, y).Value = Me.TextBox1.Value
And to empty it

Me.TextBox1.Value = Empty

It works fine, except for the following situation. When I open the
worksheet and open the form, the first time I submit information everything
works fine. However, after I submit it once, the next time I go to enter
more information in the UserForm (without closing it and reopening, just
after it has been cleared from the first entry), I can no longer tab from
field to field. Instead, it just tabs 5 spaces in the field. Remember, the
first time the UserForm is opened it works fine. Any ideas?

Again, if I close the UserForm and open it again, it works fine. But if I
just submit the information, clear the fields, and go from there, the tab
doesn't work. Please help me before I go completely insane!!!

Thank you very much!!!

DNAHAWKS

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Properties window show nothing for a userform Cheer-Phil-ly Excel Discussion (Misc queries) 0 July 27th 06 07:15 PM
how do I turn off requesting scan when opening Excel (Office XP) chuqui007 Excel Discussion (Misc queries) 6 November 18th 05 07:26 PM
Properties transferring from excel cells to word file properties lubo Excel Programming 4 July 12th 05 11:24 AM
Setting properties of userform controls with VBA Dave[_52_] Excel Programming 1 December 22nd 04 09:27 PM
looping through userform controls changing enabled and locked properties JulieD Excel Programming 2 August 14th 04 12:44 PM


All times are GMT +1. The time now is 10:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"