I am trying to create a dynamic number of variables in VBA based on the value in a cell.
Essentially what I\'d like to end up with is something like Team1, Team2... to
This will get you started. But before you start I recommend watching these WiseOwlTutorials tutorial on Youtube:
Dim i, x As Integer
x = Range("J4").Value
Dim Team() As Integer
Dim Manager() As String
ReDim Team(1 To x) As Integer
ReDim Manager(1 To x) As String
Range("A3").Select
For i = 1 To x
Team(i) = i
Next