Link to home
Create AccountLog in
Avatar of Mohammad Alsolaiman
Mohammad AlsolaimanFlag for Saudi Arabia

asked on

Calling a subroutine from another form?

Hi:
I have this subroutine "Private Sub subTotals()"  in a main form, and I need to call it from a subform
What is the appropriate syntax to do so ? please
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Mohammad Alsolaiman

ASKER

Yes, I figure out that the key word here is to change the private  subroutine into public
I like the "Call Me.Parent.subTotals"  it's new to me
 Thanks a lot