Switching between worksheets / windows.

HighAndWilder

Active Member
Joined
Nov 4, 2006
Messages
394
Office Version
  1. 365
Platform
  1. Windows
Excel is so frustrating sometimes.

What should be quite simple is often so tricky and time consuming.

I have a number of worksheets open, all but one are minimized.

These are opened from a Userform.

The one that is mazimised is the one that Userform is in.

All I want to do is switch between windows and keep the Userform on top.

Thanks
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
The UserForm is a child window of the workbook that owns it. If you set the ShowModal property to False, the UserForm will always be on top when you are working on the workbook that owns it. However, it will not be on top if you change focus to another workbook (or any other Windows application) that covers up the workbook that owns the UserForm.

However, you can manage it with some low-level code found in this post. It looks like you will probably have to update it for 64-bit.
 
Upvote 0
Thanks 6StringJazzer

It all makes sense now.

I've adopted another approach by copying the worksheet from another workbook that I want to work on from the Userform and then
copying it back again when I am finished. It works fine.
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,605
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top