I am using the RunMacro command to run a macro a certain number of times. I am using it to add some records to a table. Is there a variable that keeps track of how many times the macro has run? I need to compare that value with another number (the max. # of times I want it to run) in order to create my repeat expression? I haven't been able to figure out how to reference the counter variable that is incremented each time the macro runs. I assume that this number is available somewhere. I would greatly appreciate it if someone could tell me how to do this.