G
==Garfield==
I create some icon in the ribbon and call the macro created previous in 2003
but when i click on this icon in 2007. It will prompt me that the macro
sercuity dialog box. I have set the sercuity to enable all macro, any idea?
This is my xlm:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab idMso="TabHome">
<group idMso="GroupFont" visible="false" />
</tab>
<tab id="CustomTab" label="House Style">
<group id="SampleGroup1" label="Heading">
<button id="HButton1" size="normal"
label="H1"
onAction="ThisDocument.Header1" />
<button id="HButton2" size="normal"
label="H2"
onAction="ThisDocument.Header2" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
but when i click on this icon in 2007. It will prompt me that the macro
sercuity dialog box. I have set the sercuity to enable all macro, any idea?
This is my xlm:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab idMso="TabHome">
<group idMso="GroupFont" visible="false" />
</tab>
<tab id="CustomTab" label="House Style">
<group id="SampleGroup1" label="Heading">
<button id="HButton1" size="normal"
label="H1"
onAction="ThisDocument.Header1" />
<button id="HButton2" size="normal"
label="H2"
onAction="ThisDocument.Header2" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>