You create a module-level variable by placing the declaration (with the Dim statement) at the top of a module, in a Declarations section.
Tako spremenljivko napoveste tako, da navedbo (s stavkom Dim) postavite na vrh modula v razdelek Declarations.