Counter

Pete490h

Member
Local time
Today, 08:29
Joined
Jan 18, 2021
Messages
51
Hi,
I need to run a macro several times based on a starting variable number
Would a good method be to create a counter starting at that variable number and reducing after every macro run
Examples would be good if you could assist thanks
Truly hope I’ve described my issue clearly😉
 
Code:
For I = 1 to iTop
  Docmd.runmacro "mMyMacro"
Next
 

Users who are viewing this thread

Back
Top Bottom