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 November 20th, 2008, 06:19 PM
Registered User
 
Join Date: Nov 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default modeless userform

Anyone know how to make a userform go behind another window (like Word) when another window is selected?
vbmodeless does not do it.
Thanks
Reply With Quote
  #2 (permalink)  
Old November 26th, 2008, 08:00 AM
Authorized User
 
Join Date: Feb 2007
Location: Southampton, Hampshire, United Kingdom.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try changing the Show Modal property of the form to false at design time, rather than using .Show(vbModeless) while this property is true.

Reply With Quote
  #3 (permalink)  
Old November 29th, 2008, 07:25 PM
Registered User
 
Join Date: Nov 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for reply!
After working with this for awhile I realizes what I really want to do:
Is there a way to make the userform visible without showing Excel?

Reply With Quote
  #4 (permalink)  
Old December 3rd, 2008, 08:59 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

A simple option would be to include Application.Visible = False in UserForm_Initialize

Cheers
Shasur

C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
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
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
Dynamic modeless UserForm robin_lotr Excel VBA 2 February 10th, 2005 06:19 PM
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 10:32 AM.


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