Current location - Recipe Complete Network - Complete cookbook - VB BAS module problem
VB BAS module problem
Bas module is mainly used to declare commonly used variables, constants, procedures and methods. It's like a recipe (sorry, I think I'm hungry:) so that anyone can order without repeating the sentence.

For example:

Declare in a module

Private function Add(a as integer) as integer.

Addition = a+3

End function

This can be called in any form.

Do you understand?