ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
KLKillian Launay02/05/2024

Hi everyone.

I'm struggling to create a macro that saves out a 2024 file in 2022 version. I tried with the saveAsPreviousVersion method, it saves me files but in 2024 version, not 2022. I don't know what i'm doing wrong, if someone can help, it would be greatly appreciated. Here is my code :

Option Explicit Option Compare Text Dim swApp As SldWorks.SldWorks Dim swModel As SldWorks.ModelDoc2 Dim nErrors