Solved

getting control states between forms

Posted on 1998-07-08
1
136 Views
Last Modified: 2010-05-03
I have two forms. Form1 has several checkboxes. I want to write some code that is tied to buttons on form2.
If on form2 I write:
      If Form1.Checkbox1.value = 1 Then
        ....
      End if

This should allow me to check the value of Checkbox1 on Form1, but it does not work for me. What I am I missing?


 
0
Comment
Question by:englm
1 Comment
 
LVL 9

Accepted Solution

by:
Dalin earned 50 total points
ID: 1465233
englm,
Make sure form1 is not unloaded.
regards
Dalin
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

828 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