I currently have this in a macro that will help me disable buttons. what i am trying to accomplish is as each time the loop goes through it will re populate B28 with:
Button 2
Button 3
and so on
a = 2
Do While a <= 10
But = "Button "
But = But & a
Worksheets("Index").Range("b28").Value = But
a = a + 1
Loop
The problem i am haveing is when the code is ran i get an error stating Type Mismatch any help...
THanks,
cdulong
Button 2
Button 3
and so on
a = 2
Do While a <= 10
But = "Button "
But = But & a
Worksheets("Index").Range("b28").Value = But
a = a + 1
Loop
The problem i am haveing is when the code is ran i get an error stating Type Mismatch any help...
THanks,
cdulong