I have some code working between modules and a form, but I don't understand how its working with the way I declared the variables.

I want a value from a Sub in a module to be passed to a Sub in the form. What is the proper way to do this?

What is the difference between, Public, Private and Global for variables? Thanks