Hello I am trying to make a Macro In Solidworks vba. To get new Product Number. Each time when the macro Works It opens new session. How to solve this. Thanks in advance.
Code |
---|
Set Con_1C = CreateObject("V82.Application") Con_1C.Connect ("Srvr=SUNUCU;Ref=Production;Usr='Adm';Pwd=123456") |