ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   User forms (https://www.excelbanter.com/excel-programming/353781-user-forms.html)

matpj[_42_]

User forms
 

Hi,

I have a user form that presents the user with a list box and a 'run'
button.
when this button is pressed I want to display another user form,
resized to show only the title-bar.

this will display 'Please Wait...'

the only thnig is, i get an error when I try to run it :
"cant show non-modal form when modal form is displayed"

can anyone suggest a way to get around this?

thanks in advance,
Matt


--
matpj
------------------------------------------------------------------------
matpj's Profile: http://www.excelforum.com/member.php...o&userid=21076
View this thread: http://www.excelforum.com/showthread...hreadid=514330


Toppers

User forms
 
Hi,
Show both as modeless

Userform1.show vbmodeless
......
Userform2.show vbModeless ' <=== from your Button_Click macro

Both will appear on screen

"matpj" wrote:


Hi,

I have a user form that presents the user with a list box and a 'run'
button.
when this button is pressed I want to display another user form,
resized to show only the title-bar.

this will display 'Please Wait...'

the only thnig is, i get an error when I try to run it :
"cant show non-modal form when modal form is displayed"

can anyone suggest a way to get around this?

thanks in advance,
Matt


--
matpj
------------------------------------------------------------------------
matpj's Profile: http://www.excelforum.com/member.php...o&userid=21076
View this thread: http://www.excelforum.com/showthread...hreadid=514330



matpj[_43_]

User forms
 

thanks!
that works perfectly!

:

--
matp
-----------------------------------------------------------------------
matpj's Profile: http://www.excelforum.com/member.php...fo&userid=2107
View this thread: http://www.excelforum.com/showthread.php?threadid=51433



All times are GMT +1. The time now is 07:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com