- Sub Test()
- Dim vVar as variant 'Is a variant in case assigned to text or number
- ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
- vVar = ThisDrawing.GetVariable ("DIMSCALE")
- ThisDrawing.SetVariable "DIMSCALE" , 1# 'lb sign included if no decimal
- ThisDrawing.SendCommand "-LINETYPE" & vbCr & "S" & vbCr & "ByLayer" & vbCr & vbCr
- ThisDrawing.Utility.Prompt "this is a test"
- End Sub
- oops..
- If you want a pop up box it is...
- MsgBox "this is a test"
|