I need to keep resetting a variable which would be how much to shift a grid over and then you type it in or use the default amount and it shifts it. Then, go back and shift it again! So, I can't do a (if (not shift-h) because there already is one set from previously. Well, I think that may just be one issue. Here is my program (you need acad 2005 for the hatchsetorigin command) and I REALLY need help with this shifting issue. Sometimes it shifts, sometimes not, sometimes it takes the amount I typed in, sometimes it's overridden by the default amount instead. UGH! The program is otherwise set. I've only been programming for a couple months, so I don't know all the ins and outs. Can anyone help me out?