How do i call a subroutine from another form?

can u explain the thread wht u have plz

Lets say the sub is in Form2 and it must be called via Form1. Declare the sub in Form2 as Public. To call it via Form1, write this code in Form1: Call Form2.Subname where Subname is the name of the sub >.>

Lets say the sub is in Form2 and it must be called via Form1. Declare the sub in Form2 as Public. To call it via Form1, write this code in Form1: Call Form2.Subname where Subname is the name of the sub >.>

thank you so much. it works.

Just use the fully qualified name.

Subroutine should have global scope.