Is there any way to pass a variable to another form apart from using global variables?
On the target form, place a text box, label, or any other control that you prefer and set that control’s visible property to False. Then place the value of your variable in the text (or caption, etc.) property of this control. Another method is to use the .Tag property which is never used by VB itself. You can place any string you want into the .Tag property of a form or control.