Sorry - not found this in Access yet - any chance you could explain what
and
do?
As they are obviously not doing the same in Word, it might help you get an answer if you explain what you want to do - not all of us use VBA in Access as much as we do in Word!
One thing you might try is changing the loop from:
Code:
do while cnt <= 20
me("ComboBox" & ctr).value = "I am box #" & ctr
ctr= ctr + 1
loop
to:
Code:
While cnt <= 20
me("ComboBox" & ctr).value = "I am box #" & ctr
ctr= ctr + 1
Wend
Not being sure about crt, etc. I have no idea if it'll work, but the While used with Wend loop may do the trick.