Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 4th, 2005, 04:26 AM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic modeless UserForm

I need to dynamically generate a UserForm in VBA. Also need to make it modeless. Using
VBA.UserForms.Add(TempForm.name).Show(vbModeless)
DoEvents
causes the form to appear briefly and then disappear...
Thanks in advance for any help
Robin


Reply With Quote
  #2 (permalink)  
Old February 8th, 2005, 03:10 PM
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Robin,
   I just started using modeless user forms myself. Did you write code for after the form appears? It sort of sounds like the form is appearing, then Excel is reaching the end of your code, and it is disappearing. I believe modeless userforms will only remain until code execution ends. (Unlike modal userforms that will remain until there is user action) Hope I could help!


Reply With Quote
  #3 (permalink)  
Old February 10th, 2005, 06:19 PM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was wondering if there was some way to prevent the code from running to completion like that... so I can generate multiple modeless forms dynamically so the user can do stuff in parallel...

Thanks
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
modeless userform randomwanderer Excel VBA 3 December 3rd, 2008 08:59 AM
Userform - Modeless chrislim1 Excel VBA 10 September 20th, 2006 12:36 PM
Modeless Userform, without blue border or "x" maxpotters Excel VBA 1 March 25th, 2005 06:17 AM
MDI vs. modeless and floating windows Isen C# 3 July 9th, 2004 12:15 PM
Javascript "alert()" acts modeless cppman Javascript 2 September 16th, 2003 09:52 AM



All times are GMT -4. The time now is 03:06 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.