Hi Chad Horihan,
Sorry to delay.
Yes C001 would be a problem. As our SAP setup, some other confirmation type would not support to input AB confirmation.
But you know, confirmation key can't be changed, if it is already set.
That's why I always got alert message.
So I add "On Error Resume Next".
Then I don't need If condition.
Session.findById("wnd[0]/usr/subSUB0:SAPLMEGUI:0019/subSUB3:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:1301/subSUB2:SAPLMEGUI:1303/tabsITEM_DETAIL/tabpTABIDT16/ssubTABSTRIPCONTROL1SUB:SAPLMEVIEWS:1101/subSUB1:SAPLMEGUI:1334/cmbMEPO1334-BSTAE").Key = "" Then