09-14-2010, 04:12 AM
I finally got this to recreate the error...
If I open up excel file and then run the function without ever activating the Excel window QM will return this error.
I think if you just have QM activate Excel at the top of the function, you'll be fine.
Something like:
act child("[\0-9a-z]*" "" win("Microsoft Excel - [\0-9a-z]*" "XLMAIN" "" 0x200) 0x200)
If I open up excel file and then run the function without ever activating the Excel window QM will return this error.
I think if you just have QM activate Excel at the top of the function, you'll be fine.
Something like:
act child("[\0-9a-z]*" "" win("Microsoft Excel - [\0-9a-z]*" "XLMAIN" "" 0x200) 0x200)
