Open Files

Is there an quick and easy way to get the number of files auser currently has open in SW 2007?SolidworksApi macros