Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Excel VBA Userforms

Posted on 2011-10-30
2
Medium Priority
?
247 Views
Last Modified: 2012-05-12
Hi All - I was wondering if there is a way to check if there are any userforms visible at a particular time?

Thanks - Zack
0
Comment
Question by:zack4x4
2 Comments
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 2000 total points
ID: 37054140
from VBA then try:

vba.userforms.count

i.e.0 indicates none and otherwise ...

Chris
0
 
LVL 4

Author Closing Comment

by:zack4x4
ID: 37054213
That worked great thanks!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question