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: 21
Default Must be a way to force focus back to sheet instead of UserForm - isn't there?

Hi

As subject - have tried ActiveCell.Activate and all sorts of other
things in all sorts of event procedures and nothing seems to work.
Is there a single line of code that will force the focus back to
the sheet from which the UserForm was 'shown' (via a button
click)?

I just want to click on the button and have the focus returned
back to the cell that was active at the time of the UserForm
opening.

Have also tried making ALL controls on the UserForm have no
TabStop, or no TakeFocusOnClick - all to no avail - I'm at the
absolute end of my tether with regard to what else to try.

I must be missing something.

regards,
--
Les Hay, Livingston. Scotland


 
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
ADDING/DELETING SHEET Without losing focus? Faraz A. Qureshi Excel Discussion (Misc queries) 1 July 29th 09 12:55 PM
HELP!! Unhide Sheet with Macro and focus on other sheet [email protected] Excel Discussion (Misc queries) 2 May 23rd 06 07:17 PM
How do I get focus back on an Excel file? Stumpiana Charts and Charting in Excel 1 November 18th 05 01:21 AM
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 03:31 PM.

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

About Us

"It's about Microsoft Excel"