Hi
i have 3 different worksheets used during different modules. Is there a way that i can set these worksheets as public variables and then refer to them in the modules.
Public ws1 as string
public ws2 as string
public ws3 as string
sub setvar()
set ws1=sheet(1)
set ws2=sheet(2)
set ws3=sheet(3)
end sub
i have 3 different worksheets used during different modules. Is there a way that i can set these worksheets as public variables and then refer to them in the modules.
Public ws1 as string
public ws2 as string
public ws3 as string
sub setvar()
set ws1=sheet(1)
set ws2=sheet(2)
set ws3=sheet(3)
end sub