LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Activate Excel worksheet after showing a user form - problem solved !

"Tom Ogilvy" kirjoitti viestissä
...
Well a quick way to check would be to throw an IF block around your ADO
routines

Problem solved.
The reason was in the way I called and showed the form.
'...
frmTuotteet.Show
frmTuotteet.lstTuotteet.SetFocus 'Points to a list box component in
the form
'...
The "SetFocus" method seemed to be the reason for the whole problem. I just
removed this line from the VBA code (-
frmTuotteet.lstTuotteet.SetFocus )

Kaj B.




 
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
Trying to get a User Form to activate off a drop down menu Rcarper Excel Discussion (Misc queries) 2 October 2nd 09 02:04 PM
Edit worksheet while a user form is on? Huyeote Excel Programming 0 September 12th 03 04:05 AM
Activating a worksheet with a user form open on the screen KimberlyC Excel Programming 4 August 29th 03 08:44 PM
How to set focus back to sheet after showing a user form Stephen Bullen Excel Programming 0 July 22nd 03 10:34 AM
How to set focus back to sheet after showing a user form Les[_4_] Excel Programming 0 July 21st 03 07:58 PM


All times are GMT +1. The time now is 11:51 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"