The EASY way to set up the text file is to use Excel to make a grid the number of sheets wide by the number of tickets per sheet deep. Put the first number in the upper left cell, then fill consecutively to the right until the number of columns is equal to the number of sheets you will print, then move down a row and do the same thing with the next numbers, and so on until you've finished the grid.
You need at least one space to make the autonumbering kick in. Now Option/Alt-click on the Autonumbering button in the Control panel (or choose Bullets and Numbering from the Control panel flyout menu) and choose the list you created in the Lists pop-up menu. You might want to adjust the other settings to match this: Now you’re done. Click OK and you should see the number appear in the text frame.
White Birch White Sunfish Yellow Canary Acid Green Flame Orange Hellfire Red Sulphur Yellow Hunters' Orange Robin Egg Blue Sumac Red Blue Green Gray Ivory Goldenrod Plasma Pink Pink Lavender Lemon Drop Spring Green Violet Manilla Dark Green Red Yellow Dusk Pink Evergreen Ocean Blue Cherry Hunters Orange Dark Blue Orange White / Ivory how to number raffle tickets in indesign