#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default 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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

Reply
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
User Forms Runner77 Excel Discussion (Misc queries) 1 January 12th 06 06:20 AM
user forms Runner77 Excel Discussion (Misc queries) 0 January 12th 06 04:31 AM
User Forms ajocius[_41_] Excel Programming 2 November 20th 05 10:10 PM
User Forms - Max Me Dave Peterson[_3_] Excel Programming 0 June 26th 04 04:22 AM
VB user forms Madasu Excel Programming 4 January 11th 04 10:47 PM


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