akindofmagic
09-13-2010, 10:50 PM
Let's say I have a worksheet in Excel. The purpose of the Sub is to read various vectors through an InputBox, without the Sub asking the user the number of elements for that vector.
I assume:
Sub vect()
Dim aVector as Range
Set aVector = Application.InputBox = ("Vector range", type:=8)
' Display the vector trough Debug.Print
End Sub
Thank you.
I assume:
Sub vect()
Dim aVector as Range
Set aVector = Application.InputBox = ("Vector range", type:=8)
' Display the vector trough Debug.Print
End Sub
Thank you.