I use some of my variables in more than one module.
In Module1, I have declared:
In Module2, I do the same when I want to use it.
Question is, would it be better to declare wsg as a Global variable or not?
Does it save time / memory or is it negliable?
Thanks
In Module1, I have declared:
Code:
Sub Proc1
Dim wsg As Worksheet
Set wsg = Worksheets("Graph")
End Sub
In Module2, I do the same when I want to use it.
Question is, would it be better to declare wsg as a Global variable or not?
Does it save time / memory or is it negliable?
Thanks