Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
GSGordon Smith17/10/2024
I'm writing a VBA Macro to automate some tasks on various Drawing Sheets, and am running into some issues in actually selecting a Sheet.
I tried recording a macro where I shifted between Sheet1, Sheet2, and Sheet3, but the coding didn't seem to reflect anything:
Dim swApp As Object
Dim Part As Object
Dim boolstatus As Boolean
Dim longstatus As Long, longwarnings As Long
Sub main()
Set swApp = Application.SldWork