Delete sheet,"none of the selected item could be delete" message appeared.

I try to add sheet name "table",and after that go to print,after print I want to delete that sheet,but the screen appear message "none of the selected item could be delete",

and that sheet are still not be delete.Any suggestion?Thanks for any reply.

SolidworksApi macros
Answers 2
AT
AT 2014-01-13 Best Answer

Select sheet firstly using the SelectById2 and then use ModelDocExtension::DeleteSelection2 instead of EditDelete

SF
SF 2014-01-13

Thanks Artem,I not familiar with macro,could you please show  more detail  how  to modify the code?Thanks