Thanks everyone for responding quickly.
I used Access to covert my macro to visual basic. However, when I attempt to type in DLookup("[RepeatCount]","[RepeatCountTable]") I get Compile error expected: =
DBguy- Before the submacro, a set of queries calculates the number of times I need to run...