Q: How do I get my variables to work within subs? A: Type this in your main program (another words, not in a sub) DIM SHARED yourvar%, here$, example%, gotit% All the variables after DIM SHARED are enabled in any subs you have, remember to separate them by commas.