Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can this be made valid in VBA:
Const wsNot2Process = Array("Summary", "GraphResults", "*backup") Or do I have to assign the array to a non-constant array variable? -- | +-- Thief_ | |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It looks like your choices are...
1. Const wsNot2Process1 As String = "Summary" Const wsNot2Process2 As String = "GraphResults" Const wsNot2Process3 As String = "*backup" 2. Dim wsNot2Process As Variant wsNot2Process = Array("Summary", "GraphResults", "*backup") Jim Cone San Francisco, USA "Thief_" wrote in message ... Can this be made valid in VBA: Const wsNot2Process = Array("Summary", "GraphResults", "*backup") Or do I have to assign the array to a non-constant array variable? +-- Thief_ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Jim.
-- | +-- Thief_ | "Jim Cone" wrote in message ... It looks like your choices are... 1. Const wsNot2Process1 As String = "Summary" Const wsNot2Process2 As String = "GraphResults" Const wsNot2Process3 As String = "*backup" 2. Dim wsNot2Process As Variant wsNot2Process = Array("Summary", "GraphResults", "*backup") Jim Cone San Francisco, USA "Thief_" wrote in message ... Can this be made valid in VBA: Const wsNot2Process = Array("Summary", "GraphResults", "*backup") Or do I have to assign the array to a non-constant array variable? +-- Thief_ |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
alternative
store the constant as a delimieted string, create the array with split function const x = "Summary;Graphresults;Backup" .... msgbox split(x,";")(0) -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam Jim Cone wrote : It looks like your choices are... 1. Const wsNot2Process1 As String = "Summary" Const wsNot2Process2 As String = "GraphResults" Const wsNot2Process3 As String = "*backup" 2. Dim wsNot2Process As Variant wsNot2Process = Array("Summary", "GraphResults", "*backup") Jim Cone San Francisco, USA "Thief_" wrote in message ... Can this be made valid in VBA: Const wsNot2Process = Array("Summary", "GraphResults", "*backup") Or do I have to assign the array to a non-constant array variable? +-- Thief_ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Array Constant? | Excel Discussion (Misc queries) | |||
Array formula with a constant? | Excel Worksheet Functions | |||
array formula with constant | Excel Worksheet Functions | |||
Array constant issue | Excel Worksheet Functions | |||
constant array | Excel Programming |