Have you used MacroB on this machine before? Perhaps you don't have Macro B enabled? Try writing this in Macro A instead. I don't remember the syntax for A, nor do I recall id Macro A has a WHILE/DO loop. Since it doesn't get to line N126, does the WHILE statement even work? Good luck!