1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir<helpdocument version="1.0">
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<!--
5*cdf0e10cSrcweir***********************************************************************
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
12*cdf0e10cSrcweir *
13*cdf0e10cSrcweir * This file is part of OpenOffice.org.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
17*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
18*cdf0e10cSrcweir *
19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
24*cdf0e10cSrcweir *
25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
26*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
28*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
29*cdf0e10cSrcweir *
30*cdf0e10cSrcweir ************************************************************************
31*cdf0e10cSrcweir -->
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir<meta>
35*cdf0e10cSrcweir      <topic id="textsharedoptionen01130100xml" indexer="include">
36*cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">VBA Properties</title>
37*cdf0e10cSrcweir         <filename>/text/shared/optionen/01130100.xhp</filename>
38*cdf0e10cSrcweir      </topic>
39*cdf0e10cSrcweir   </meta>
40*cdf0e10cSrcweir   <body>
41*cdf0e10cSrcweir      <section id="office">
42*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155805"><bookmark_value>Microsoft Office; importing/exporting VBA code</bookmark_value>
43*cdf0e10cSrcweir         <bookmark_value>importing; Microsoft Office documents with VBA code</bookmark_value>
44*cdf0e10cSrcweir         <bookmark_value>exporting; Microsoft Office documents with VBA code</bookmark_value>
45*cdf0e10cSrcweir         <bookmark_value>loading; Microsoft Office documents with VBA code</bookmark_value>
46*cdf0e10cSrcweir         <bookmark_value>saving; VBA code in Microsoft Office documents</bookmark_value>
47*cdf0e10cSrcweir         <bookmark_value>VBA code; loading/saving documents with VBA code</bookmark_value>
48*cdf0e10cSrcweir         <bookmark_value>Visual Basic for Applications; loading/saving documents with VBA code</bookmark_value>
49*cdf0e10cSrcweir</bookmark>
50*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3143267" role="heading" level="1" l10n="U"
51*cdf0e10cSrcweir                    oldref="20"><link href="text/shared/optionen/01130100.xhp" name="VBA Properties">VBA Properties</link></paragraph>
52*cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150443" role="paragraph" l10n="U" oldref="2"><ahelp hid=".">Specifies the general properties for loading and saving Microsoft Office documents with VBA (Visual Basic for Applications) code.</ahelp></paragraph>
53*cdf0e10cSrcweir      </section>
54*cdf0e10cSrcweir      <section id="howtoget">
55*cdf0e10cSrcweir         <embed href="text/shared/00/00000406.xhp#etsofi"/>
56*cdf0e10cSrcweir      </section>
57*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3145582" role="heading" level="2" l10n="U" oldref="3">Microsoft Word 97/2000/XP</paragraph>
58*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3149762" role="paragraph" l10n="U" oldref="4">Select the settings for Microsoft Word documents.</paragraph>
59*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_WBAS_CODE" id="bm_id1012200910594212" localize="false"/>
60*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_EBAS_CODE" id="bm_id101220091104572" localize="false"/>
61*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_PBAS_CODE" id="bm_id1012200911053796" localize="false"/>
62*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155420" role="heading" level="3" l10n="U" oldref="5">Load Basic code</paragraph>
63*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3159399" role="paragraph" l10n="U" oldref="6"><variable id="codetext"><ahelp hid="OFFMGR:CHECKBOX:RID_OFAPAGE_MSFILTEROPT:CB_WBAS_CODE">Loads 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 <emph>Sub</emph> and <emph>End Sub</emph>.</ahelp> 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.
64*cdf0e10cSrcweir</variable></paragraph>
65*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_WBAS_STG" id="bm_id1012200911004150" localize="false"/>
66*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_EBAS_STG" id="bm_id1012200911020741" localize="false"/>
67*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_PBAS_STG" id="bm_id1012200911024686" localize="false"/>
68*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3153824" role="heading" level="3" l10n="U" oldref="7">Save original Basic code</paragraph>
69*cdf0e10cSrcweir      <section id="origtext">
70*cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3150084" role="paragraph" l10n="CHG" oldref="8"><ahelp hid="OFFMGR:CHECKBOX:RID_OFAPAGE_MSFILTEROPT:CB_WBAS_STG">Specifies 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.</ahelp></paragraph>
71*cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153088" role="paragraph" l10n="U" oldref="17">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.</paragraph>
72*cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3151246" role="paragraph" l10n="U" oldref="18">The <emph>Save original Basic code</emph> checkbox takes precedence over the <emph>Load Basic code</emph> 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.</paragraph>
73*cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3148946" role="paragraph" l10n="U" oldref="19">To remove any possible Microsoft Basic macro viruses from the Microsoft document, unmark the <emph>Save Original Basic Code </emph>check box and save the document in Microsoft format. The document will be saved without the Microsoft Basic code.</paragraph>
74*cdf0e10cSrcweir      </section>
75*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3154924" role="heading" level="2" l10n="U" oldref="9">Microsoft Excel 97/2000/XP</paragraph>
76*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3149457" role="paragraph" l10n="U" oldref="10">Specifies the settings for documents in Microsoft Excel.</paragraph>
77*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3154072" role="heading" level="3" l10n="U"
78*cdf0e10cSrcweir                 oldref="11">Load Basic code</paragraph>
79*cdf0e10cSrcweir      <embed href="text/shared/optionen/01130100.xhp#codetext"/>
80*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/svx:CheckBox:RID_OFAPAGE_MSFILTEROPT:CB_EBAS_EXECTBL" id="bm_id1012200911063630" localize="false"/>
81*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id0523200811475727" role="heading" level="3" l10n="NEW">Executable code</paragraph>
82*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id0523200811475733" role="paragraph" l10n="NEW"><ahelp hid=".">The 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.</ahelp></paragraph>
83*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3151211" role="heading" level="3" l10n="U"
84*cdf0e10cSrcweir                 oldref="12">Save original Basic code</paragraph>
85*cdf0e10cSrcweir      <embed href="text/shared/optionen/01130100.xhp#origtext"/>
86*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3149202" role="heading" level="2" l10n="U"
87*cdf0e10cSrcweir                 oldref="13">Microsoft PowerPoint 97/2000/XP</paragraph>
88*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3148922" role="paragraph" l10n="U" oldref="14">Specifies the settings for documents in Microsoft PowerPoint.</paragraph>
89*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3148451" role="heading" level="3" l10n="U"
90*cdf0e10cSrcweir                 oldref="15">Load Basic code</paragraph>
91*cdf0e10cSrcweir      <embed href="text/shared/optionen/01130100.xhp#codetext"/>
92*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3145419" role="heading" level="3" l10n="U"
93*cdf0e10cSrcweir                 oldref="16">Save original Basic code</paragraph>
94*cdf0e10cSrcweir      <embed href="text/shared/optionen/01130100.xhp#origtext"/>
95*cdf0e10cSrcweir      <section id="relatedtopics">
96*cdf0e10cSrcweir         <embed href="text/shared/guide/ms_doctypes.xhp#ms_doctypes"/>
97*cdf0e10cSrcweir         <embed href="text/shared/guide/ms_import_export_limitations.xhp#about"/>
98*cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153768" role="paragraph" l10n="U" oldref="21"><link href="text/shared/optionen/01010200.xhp" name="Setting the default file format">Setting the default file format</link></paragraph>
99*cdf0e10cSrcweir      </section>
100*cdf0e10cSrcweir   </body>
101*cdf0e10cSrcweir</helpdocument>