fjslan Posted September 23, 2008 Report Share Posted September 23, 2008 THANKS TO KEVIN for providing help in an earlier topic. my GOAL: run a macro "N" number of times and half way throught thru macro I need to input a name+3 digit number "FRANK-001", "FRANK-002, etc currently i am pausing the macro, entering the name manually, resuming the macro Kevin provided me this <REM2:Intialize variable><IVAR2:03:01:0><REM2:><REM2:Get the number of times to repeat><IVAR2:01:02:FEnter the number of times to repeatFFCenter:Center><REM2:Repeat N1 times. Keep a counter in N2.><REP3:01:000001:000001:%N1%:1:02:><REM2:Copy the counter to string variable T1><NMVAR:05:02:0:0000001:0:0000000><REM2:Pad T1 to be 3 characters in length><TMVAR2:14:01:00:003:000:><REM2:Replace the leading spaces with leading 0's><TMVAR2:21:01:01:000:000: 0><REM2:Create T2 with 'frank' followed by a number><TVAR2:02:01:frank%T1%><REM2:><REM2:Create T2 with 'frank' followed by a number><TEXTTYPE:%T2%<ENTER>><ENDREP> My problem is that I do not know where to enter the script into my current macro so that it will work. (do i enter all of it at the beginning or part of it at the beginning? all of it in th emiddle and part in the beginning? you get the idea. Please help Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.