How can I add the slider control to VBA userform ? the control object is like below screen capture:
You can use scroll bars
the slider bar I posted was on a macro run on SW2011, but fail in SW2015.
the SR told me that ,
SolidWorks 2013 SP0, and later, includea new version of Microsoft Visual Basic for Applications (VBA 7), whichsupports both 32-bit and 64-bit systems.
The problem here is that the 64-bitinstall does not support common controls of MSComCtl (TabStrip, Toolbar,StatusBar, ProgressBar, TreeView, ListViews, ImageList, Slider, ImageComboBox)or MSComCt2 (Animation, UpDown, MonthView, DateTimePicker, FlatScrollBar) solegacy 32-bit code ported to 64-bit VBA code that depends on these commoncontrols will not function.
For more information on VBA 7 please seehttp://msdn.microsoft.com/en-us/library/ee691831.aspxalso see the information available on SolidWorks forum https://forum.solidworks.com/docs/DOC-2141
I want to fix that macro on SW2015. So I need to try other way to handle it.
Retrieving data ...