when popup form is closed...

1jet

Registered User.
Local time
Today, 22:33
Joined
Sep 15, 2008
Messages
117
Hi all,
I have a main form with a function called vbaPlayingTimes.

I also have a popup form with a cmdClose button which closes the form.

When this command is clicked, I want to execute this function (which is coded on the other main form), whats the coding to do this?

P.S. I will have this on the "On Close" event of the popup form also in case the user choose to use the window's X instead of cmdClose...
 
If you want to share functions between forms you need to create a module and create your functions in there. This is the normal way of programming.
 
I've just done some brief PDF reading, and it appears possible to pass arguments between subroutines and functions in the same form...so you're really saying it's not possible between two different forms?
 

Users who are viewing this thread

Back
Top Bottom