반응형 solidworks sample vba code1 이미지 만들기 -SAMPLE Sample 코드Private Sub InsertModelImageIntoExcel() Dim swExport As Boolean Dim tempImagePath As String Dim pic As Picture Dim mergedWidth As Double Dim mergedHeight As Double Dim targetCell As Range '// 이미지 삽입 Set targetCell = WS.Range("E2") '// 현재 활성화된 문서가 있는지 확인 If swModel Is Nothing Then MsgBox "열려 있는 모델이 없습니다.", vbCritical Exit Sub End If '.. 2024. 12. 26. 이전 1 다음 반응형