Delete one sheet in excel


#1

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)


#2

Hi @chen,

i have modified your code please check it.

deletExcelSheet.xaml (9.8 KB)

Regards,
Arivu


#3

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


#4

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


#5

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