Delete one sheet in excel

i can’t delete “sheet1” when i have the property sendWindowMessage checked.
but i have to make it checked so that it can work in background.what shouod i do.help me.deletExcelSheet.xaml (10.3 KB)

Hi @chen,

i have modified your code please check it.

deletExcelSheet.xaml (9.8 KB)

Regards,
Arivu

sorry,it still can’t work.throw exception like this:

Hi @chen,

can you try Send Hot Key activity what i was sen in the xaml file. (copy from there and paste it your code ) then try.

For me working fine

Regards,
Arivu

it’s still not work.that will be something with remote?
i replaced alt+h,d,s with alt+e and l ,then worked.
thank you