I've got a handful of macros in Word 2003 that format table rows. I can get them to loop x number of times no problem, but only if I hard code it in the macro. What I had envisioned was a userform popping up that would ask how many times to run the macro, user enters a number in a text box that is then passed to the macro. However, the loop number the user enters isn't being passed to the macro. I guess the variable value is lost when the form is closed? Thanks for any help!
dylan
dylan