G
Guest
Peeps,
I need help with trying to find a value in array of arrays.
Public Module myModule
Private Site_Access() As Array
Property Set_SA()
Get
Return Site_Access
End Get
Set(ByVal value)
On Error GoTo Handler
ReDim Site_Access(0)
Site_Access(Site_Access.Find(Site_Access, value(0))) = value
Handler:
Select Case Err.Number
'.... goes to sub procedure code to copy and reassign array
if does not exist
End Select
End Set
End Property
End Module
the values for "value" consist of string in array:
value(0)="Login_ID"
value(1)="http://testsite/admin/"
value(2)="http://testsite/userform/"
i do not want to use a loop or while statement.
I tried the above, but no luck. Please help.
Thanks in advance
Ros
I need help with trying to find a value in array of arrays.
Public Module myModule
Private Site_Access() As Array
Property Set_SA()
Get
Return Site_Access
End Get
Set(ByVal value)
On Error GoTo Handler
ReDim Site_Access(0)
Site_Access(Site_Access.Find(Site_Access, value(0))) = value
Handler:
Select Case Err.Number
'.... goes to sub procedure code to copy and reassign array
if does not exist
End Select
End Set
End Property
End Module
the values for "value" consist of string in array:
value(0)="Login_ID"
value(1)="http://testsite/admin/"
value(2)="http://testsite/userform/"
i do not want to use a loop or while statement.
I tried the above, but no luck. Please help.
Thanks in advance
Ros