Hi all...but stuck on this one.
I have a text cell that contains rows that are to be addressed e.g.
"123,425,796"
I have dragged them into an array in vba using :
But now would like to be able to build an array of integers - their true type. Or better still, built an array of integers in the first place...
Any ideas?
I have a text cell that contains rows that are to be addressed e.g.
"123,425,796"
I have dragged them into an array in vba using :
Code:
Public Function RowArray(rowrefs As String) As Boolean
Dim aryRowDirty() As String
aryRowDirty() = Split(rowrefs, ",")
If IsArrayEmpty(aryRowDirty()) Then
RowArray = False
Exit Function
End If
'Removes any blanks that sneak in
aryRow = CleanArray(aryRowDirty)
RowArray = True
End Function
But now would like to be able to build an array of integers - their true type. Or better still, built an array of integers in the first place...
Any ideas?