Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
WMWilliam Martin03/04/2024
Hello, I'm new to macros and I'm getting a runtime error 91 on the highlighted line when running a macro I just recorded.
Everything I can find online says it would be caused by an omission of the "Dim swBOMTable As BomTableAnnotation" line that I have included.
Thanks!
Dim swActiveView As View Set swActiveView = Part.ActiveDrawingView Dim swBOMTable As BomTableAnnotation Set swBOMTable = swActiveView.InsertBomTable4(False,