SolidWorks API - Set Save Flag To False

Can anybody help???

I have created a macro that converts a "step" file and saves it as a "sldprt" .

This "sldprt" is automatically saved by my macro but the save flag is set to true.

When I come to close the part the save dialog appears. SolidWorks thinks that the part is "Dirty" when it is not!

Is there anyway, using a VBA command to set this save flag to false?

Many thanks in advance!!!

Darren

SolidworksApi macros