Option Explicit
Dim swApp As Object
Dim Part As Object
Dim Sheet As Object
Dim retval
Sub main()
Set swApp = CreateObject("SldWorks.Application")
Set Part = swApp.ActiveDoc
Set Sheet = Part.GetCurrentSheet
retval = Sheet.GetProperties
MsgBox "Scale = " & retval(2) & ":" & retval(3)
Set Sheet = Nothing
Set Part = Nothing
Set swApp = Nothing
End Sub