Message 1 of 8
SetFocus doesn't work on modeless dialog (not an acFocus issue)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The last line in my UserForm_Initialize sub is:
TextBox1.SetFocus
For some reason, it doesn't work when the UserForm is modeless. Focus does not set and I have to manually click in the text box. If I turn the dialog back to modal, it works fine.
Anyone know what is going on here?
Thanks,
Brent McAnney
TextBox1.SetFocus
For some reason, it doesn't work when the UserForm is modeless. Focus does not set and I have to manually click in the text box. If I turn the dialog back to modal, it works fine.
Anyone know what is going on here?
Thanks,
Brent McAnney