SAS Add-In for Microsoft Office loses SAS program code if you marked part of the SAS code when you save and close the Microsoft Excel worksheet.
This issue occurs when you complete steps similar to the following:
Here is a screenshot of the program before you save the Microsoft Excel worksheet:
Here is a screenshot of the program after you save and reopen the Microsoft Excel worksheet:
To work around this issue, ensure that no text is marked in the program code before closing and saving the Microsoft Excel worksheet.