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: 85
Default Active Workbook from User Form

In the Worksheet_SelectionChange event I have some code that determines if
the cell you are on is a named range, if so, a UserForm is displayed in
non-modal mode showing some of the attributes of this field in another
systems, based on lists within this file that populate the UserForm when
activated. All of this works great, however, when the process is done (it
work immediately) the user (control) is in the UserForm, not on the active
workbook/activecell. I need to I have tried everything (including running
the code in different places such as on the form and at the end of the
SelectionChange):

- Thisworkbook.activate
- Activecell.activate
- Selecting the named range

None of these "re-activates" the worksheet rather than the User Form.

Any help is much appreciated.



 
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
Date field in user form & Loading a user form on opening workbook Balan Excel Programming 1 May 24th 08 03:40 PM
Keep User Form Active Brian Excel Programming 4 September 25th 07 01:26 PM
Displaying data in user form from active worksheet Barb Reinhardt Excel Programming 3 October 16th 06 04:20 PM
Active user form gregork Excel Programming 2 March 5th 04 06:46 AM
Show user form, leave wosksheet active Wric Smith Excel Programming 3 December 4th 03 08:46 PM


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