Sure
The size of arrays can change or might be unknown when you write the macro so I never assume that they will start at 1 and end at 100
As a homework assignment play around with this demo sub and you should be able to work it out
Option Explicit
'Option Base 1 ' Uncomment this and see what happens to AnyArray LBound
Sub Bounds()
'three dimensional array
Dim MyArray3D(1 To 10, 15, 10 To 20) ' Declare array variables.
'one dimensional array
Dim AnyArray1D(99) ' assumes lower index = 0
MsgBox LBound(MyArray3D, 1) & " -- " & UBound(MyArray3D, 1)
MsgBox LBound(MyArray3D, 2) & " -- " & UBound(MyArray3D, 2)
MsgBox LBound(MyArray3D, 3) & " -- " & UBound(MyArray3D, 3)
MsgBox LBound(AnyArray1D) & " -- " & UBound(AnyArray1D)
End Sub