Write a SOLIDWORKS VBA macro for SOLIDWORKS 2024 that takes the active drawing and saves it twice next to the original file: once as a PDF with all sheets in one file, and once as a DXF with every sheet as a separate DXF. Stop with a clear message if the active document is not a drawing or has never been saved. Use early binding, check every return value and error code, and do not modify the drawing. Give me only the complete macro and one sentence on how to run it.
