Hi all,

I'm making a program where I need to pass the contents of a variable from one form to another. I remember when we did this at college it was something to do with byval and byref, and although I've been experimenting with both commands and have read some threads here about it, I can't make it work / keep getting errors.

Basically, all I need to know is how to pass a simple variable from one form to another, just the commands and the syntax.

Thanks!