If i declare a variable inside form1 Public Class Form1 like see below, & then i add a module1 & want to use this same variable inside this module any idea how can i do that![]()
Code:Public Class Form1 Dim var as string = "bingo"EDIT: see post 13 for solution sample codesCode:Module Module1 Sub _test() MsgBox(var) End Sub End Module





Reply With Quote