Thanks. I still haven't got it to work right. Sometimes the gridlines draw perfectly horizontally and then are off vertically by 2 (missing) and vice versa. It has to be a drawing issue. I put in a wait 1 second for each run of the loop but that didn't help. I may need to just make a new object that already has the grids made before run time.
Also, I noticed it changes based on whether my preview window is fully expanded versus a different size.
I have ran this on two different computers.