VBA Properties/text/shared/optionen/01130100.xhpMicrosoft Office; importing/exporting VBA codeimporting; Microsoft Office documents with VBA codeexporting; Microsoft Office documents with VBA codeloading; Microsoft Office documents with VBA codesaving; VBA code in Microsoft Office documentsVBA code; loading/saving documents with VBA codeVisual Basic for Applications; loading/saving documents with VBA codeVBA PropertiesSpecifies the general properties for loading and saving Microsoft Office documents with VBA (Visual Basic for Applications) code.Microsoft Word 97/2000/XPSelect the settings for Microsoft Word documents.Load Basic codeLoads and saves the Basic code from a Microsoft document as a special $[officename] Basic module with the document. The disabled Microsoft Basic code is visible in the $[officename] Basic IDE between Sub and End Sub. You can edit the code. When saving the document in $[officename] format, the Basic code is saved as well. When saving in another format, the Basic code from the $[officename] Basic IDE is not saved.
Save original Basic codeSpecifies that the original Microsoft Basic code contained in the document is held in a special internal memory for as long as the document remains loaded in $[officename]. When saving the document in Microsoft format the Microsoft Basic is saved again with the code in an unchanged form.When saving in another format than Microsoft Format, the Microsoft Basic Code is not saved. For example, if the document contains Microsoft Basic Code and you save it in $[officename] format, you will be warned that the Microsoft Basic Code will not be saved.The Save original Basic code checkbox takes precedence over the Load Basic code check box. If both boxes are marked and you edit the disabled Basic Code in the $[officename] Basic IDE, the original Microsoft Basic code will be saved when saving in the Microsoft format. A message appears to inform you of this.To remove any possible Microsoft Basic macro viruses from the Microsoft document, unmark the Save Original Basic Code check box and save the document in Microsoft format. The document will be saved without the Microsoft Basic code.Microsoft Excel 97/2000/XPSpecifies the settings for documents in Microsoft Excel.Load Basic codeExecutable codeThe VBA (Visual Basic for Applications) code will be loaded ready to be executed. If this checkbox is not checked, the VBA code will be commented out so it can be inspected, but will not run.Save original Basic codeMicrosoft PowerPoint 97/2000/XPSpecifies the settings for documents in Microsoft PowerPoint.Load Basic codeSave original Basic codeSetting the default file format