Hi
I'm trying to make some changes to a few combo box.
In hard values it works:
i.e. Form_ExistingForm!nab_rt_7d_drop.SetFocus
This works fine.
However I need to do similar changes to 33 combo box so I want to do a loop.
This doesn't work:
Name = "nab_rt_" & LengthInMonths(i) & "_drop"
Form_ExistingForm!Name.SetFocus
Neither does this:
Form_ExistingForm![Name].SetFocus
The concatenation in Name works fine I get the good name.
I'm wondering, is it a type problem?
I tried dim name as string and as variant.
many thanks
Bris