Hi, Is there a way that I can Set a value to a variable and use that value for different sub.
and what I am looking for is:Public i As Long Sub test1() i = 5 MsgBox i End Sub Sub test2() i = 5 MsgBox i End Sub
Thank u!Public i As Long i=5 Sub test1() MsgBox i End Sub Sub test2() MsgBox i End Sub