Hello All,
After seeing my program get lost a few times when it was instructed to depart a sheet and then come back to that sheet and return to the cell that was active when it left...I decided that variables were necessary. They really seem to clear up this problem. I would like to ask a few questions if I may.
1. It seems clear that variables are sub or function specific...you cannot reference them anywhere except in the procedure that birthed them. Is this always correct?
2. Would it be bad practice to use the same variable names in another procedure, or is this asking for trouble?
3. Is it always necessary to dimension a variable before using it?
That is all for now.
Thanks,
David
After seeing my program get lost a few times when it was instructed to depart a sheet and then come back to that sheet and return to the cell that was active when it left...I decided that variables were necessary. They really seem to clear up this problem. I would like to ask a few questions if I may.
1. It seems clear that variables are sub or function specific...you cannot reference them anywhere except in the procedure that birthed them. Is this always correct?
2. Would it be bad practice to use the same variable names in another procedure, or is this asking for trouble?
3. Is it always necessary to dimension a variable before using it?
That is all for now.
Thanks,
David