Two Userforms Stacked On Top Of Each Other

JLouis

Active Member
Joined
Jan 1, 2004
Messages
295
Office Version
  1. 365
Platform
  1. Windows
I have two userforms that end up being stacked on top of each other. Userform1 is opened all the time. Userform2 opens for a response from the user.

Right now, Userform2 appears behind Userform1 and i need it to be in front. They are both modal=false.

Is there a way to force Userform2 to be on top of Userform1?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
I would think making form2 be modal would do it. I suppose that won't work for you?
Another way would be to hide form1 when form2 opens. Then there is this sort of thing
 
Upvote 0
Solution
Actually, that did solve the problem, but I had tried that before (I thought). After posting the origianlquestion, it started working again, so I forgot about it until it started again. I've applied your solution, hopefully iy will stick. Thanks for the suggestion.
 
Upvote 0
You're welcome. Hope it continues to work for you.
 
Upvote 0

Forum statistics

Threads
1,215,474
Messages
6,125,024
Members
449,204
Latest member
LKN2GO

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