I have named a set of 5 control boxes "Data_TransferTo1"...."DataTransferTo5"
If i put the following code in, i can access the value of each drop down
CurrentValue1 = Data_TransferTo1.value
......
CurrentValue5 = Data_TransferTo5.value
if i try this other method...
for x = 1 to 5
currentobject = "Data_TransferTo" & x
currentvalue = CurrentObject.value
next x
...the code does not work
where am i going wrong? please help!!! thanks
If i put the following code in, i can access the value of each drop down
CurrentValue1 = Data_TransferTo1.value
......
CurrentValue5 = Data_TransferTo5.value
if i try this other method...
for x = 1 to 5
currentobject = "Data_TransferTo" & x
currentvalue = CurrentObject.value
next x
...the code does not work
where am i going wrong? please help!!! thanks