I would like my code to take a value from textbox in the userform and use it as a constant for declaring values to other function for eg
Const i1max=userform1.textbox1.value
dim sys(1 to i1max) as computertype
I am getting a compilation error stating that constnt variable should be defined explicitly.
Is there any possible solution to overcome this problem
Const i1max=userform1.textbox1.value
dim sys(1 to i1max) as computertype
I am getting a compilation error stating that constnt variable should be defined explicitly.
Is there any possible solution to overcome this problem