Using "Delete All Unused"

Just now,I create a “workbookApplication” type variable.And I use “workbookApplication .getSheets(‘index’)” to get the sheet name.It is useful.But if I use “Delete All Unused” , it will delete the namespace “System.Linq”.Then this function(“workbookApplication .getSheets(0)”) throw an error about " Cannot index “System.Collections.Generic.IEnumerable(Of String)” because it has no default properties".
I do not know it is a bug or not,maybe just my error.But ,if anybody know that ,tell me.

Can you share your workflow if possible then its little bit easy for me to help you
and you can share on my mail also: ping me on

In the “Import” panel,use delete all unused.
After that.

And my version
Sequence.xaml (4.7 KB)

Sorry late for reply,just look at those pictures,and there is my example

Thanks for this
Please ping me on my mail id :


Hi @maxzz

It looks like this namespace System.Linq is required for these methods to work. Is there a reason you want to delete it?