Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I have any global variable and/or constants to declare, and they are
limited to one module, which is the better method to declare them: Option Explicit Dim myString as String Const myConst as Integer = 1 Or Option Explicit Sub Main() Public myString as String Public Const myConst as Integer = 1 What are the advantages and/or limitations of each? And while we're at it, what about declaring as variable as Static? -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200605/1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
public or global array | Excel Programming | |||
Public vs Global | Excel Programming | |||
Dim vs. Public | Excel Programming | |||
public sub | Excel Programming | |||
Public Sub Help | Excel Programming |