your image

Creating a Button - MS-Excel Tutorial

sourcedaddy
Related Topic
:- MS Excel

Creating a Button

The most basic control and the control you'll use most often is the button which, when clicked, runs a macro that you specify:

<button id="value"
label="value"
imageMso="value"
size="normal|large"
InsertAfterMso="value"
InsertBeforeMso="value"
onAction="value"
enabled="true|false"
visible="true|false"
screentip="value"
supertip="value"
keytip="value" />

Here's an example:

<button id="CustomButton1"imageMso="HappyFace"label="Hello World!"size="large"onAction="Module1.MyButton"screentip="Hello World"supertip="Displays the canonical Hello World! message."keytip="M" />

Comments