I'm a bit confuse. I would like user to insert how many data they want to put in the array.
When I declare the array like this
Dim subjArr( ) As DataType
How should I write the code so array size is according to user input. This is the code for user to insert how many records should be inserted.
Dim SubArr() As DataType
Dim subjNo As String
subjNo = InputBox("Enter the no of subjects to calculate: ")
MsgBox (subjNo + " subjects will be calculated")