This seems simple, but I can't figure it out, and I couldn't find in another forum. Below is my simplified code. I want to create an array ('Tag') that will contain string variables. The array should be the size of 'TagCount' (ie. 10).
I get the error "Constant Expression Required"
Any help would be much appreciated. Thanks for taking a look,
- JHogie
I get the error "Constant Expression Required"
Code:
Sub test()
Dim TagCount As Integer
TagCount = 10
Dim Tag(TagCount) As String
End Sub
- JHogie