Ricardo Caicedo
New Member
- Joined
- Aug 21, 2014
- Messages
- 43
Good Morning guys
I have a problem with a Public Variable. I declare a PUBLIC WaveN as Integer in a general module, so I suppose the amount should be keep it all the time during the running.
The program UpdateMaster assign to the public variable WaveN a number after go through many rows (inside of this module), but then the following program TransferInfo needs that value. I got "on" the debug mode and I can see that as soon the first sub close the value just gone.
My code is follow:</SPAN>
Sub RunProgram()</SPAN>
Call UpdateMaster
Call TransferInfo
Call RangeLookFill
Call SplitInfo
Call UpdateFinal</SPAN>
End Sub</SPAN>
Any Ideas....do I have to put the UpdateMaster(WaveN) format?
I have a problem with a Public Variable. I declare a PUBLIC WaveN as Integer in a general module, so I suppose the amount should be keep it all the time during the running.
The program UpdateMaster assign to the public variable WaveN a number after go through many rows (inside of this module), but then the following program TransferInfo needs that value. I got "on" the debug mode and I can see that as soon the first sub close the value just gone.
My code is follow:</SPAN>
Sub RunProgram()</SPAN>
Call UpdateMaster
Call TransferInfo
Call RangeLookFill
Call SplitInfo
Call UpdateFinal</SPAN>
End Sub</SPAN>
Any Ideas....do I have to put the UpdateMaster(WaveN) format?