06-07-2009, 12:32 PM
Usually the reason is changed window name or class name. Are you sure that they are the same as when recording?
For example, when you record, there is * in window name (ie the document is not saved), and it disappears when saved. In macro, remove the window name parts that change.
If changes class name, in macro replace that class name part with * and use flag 0x800.
For example, when you record, there is * in window name (ie the document is not saved), and it disappears when saved. In macro, remove the window name parts that change.
If changes class name, in macro replace that class name part with * and use flag 0x800.
