Code, forms, and modules you create with VBA are associated with an iFIX picture, toolbar, toolbar category, schedule, Dynamo set, or User Global file within the WorkSpace application. Therefore, saving the work you completed in a VBA project only occurs when you save these iFIX documents.
To save a picture from VBA, choose the Save command from the File menu. This will save any changes that you have made to the picture, as well as to the VBA project.
NOTE: Toolbar and toolbar category files are saved automatically when you exit the WorkSpace. If you made changes to the User Global file, iFIX displays a message box that asks you if you want to save your changes.