OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19-06-2012, 11:51
noj noj is offline
Member
 
Join Date: Oct 2011
Location: Sydney
Posts: 31
Default Code to determine if a particular form is loaded

Everything I've found on this relates to other programs. Can anyone please assist me with a function or snippet of code or method to determine if a particular userform is loaded?

Thanks.
Reply With Quote
  #2  
Old 21-06-2012, 15:36
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

Quote:
Originally Posted by noj View Post
Everything I've found on this relates to other programs. Can anyone please assist me with a function or snippet of code or method to determine if a particular userform is loaded?

Thanks.
Hi.
Try this. Just make sure your form has a unique name from all of your other macros.

Code:
If myForm.Visible then msgbox "My form is loaded."
~John
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to determine if shape is powerclip noj CorelDRAW/Corel DESIGNER VBA 2 19-06-2012 10:46
Open form from another form Adrian_Juman CorelDRAW/Corel DESIGNER VBA 1 08-04-2011 21:56
Code on form show? 0meg@ CorelDRAW/Corel DESIGNER VBA 3 29-12-2010 22:48
calling another form with a button in a form gorgo CorelDRAW/Corel DESIGNER VBA 1 27-05-2010 08:23
An object could not be loaded ... met CorelDRAW/Corel DESIGNER VBA 0 01-02-2010 00:57


All times are GMT -5. The time now is 00:00.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com