Hi Jan,
First thanks for the atention.
I am casting becouse the method has more complexity than I have explained here.
I have done that test supresing the cast to Element and nothing changes.
I have test too, a VBA code doing the same than the .NET code, a works fine.
First thanks for the atention.
I am casting becouse the method has more complexity than I have explained here.
I have done that test supresing the cast to Element and nothing changes.
I have test too, a VBA code doing the same than the .NET code, a works fine.