Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

I forgot to enclose the name of the command in Quote marks.  It should be like this:

Dim oSave As MsgBoxResult =  MsgBox("File must be saved before making a drawing." & vbCrLf & _
"Save now?", vbYesNo + vbQuestion, "SAVE?")

If oSave = vbYes Then
	ThisApplication.CommandManager.ControlDefinitions.Item("AppFileSaveAsCmd").Execute
End If

Wesley Crihfield

EESignature

(Not an Autodesk Employee)