18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Part VI<br />

Programming Excel with VBA<br />

n<br />

n<br />

n<br />

n<br />

n<br />

MaxLength: The maximum number of characters allowed in the TextBox. If 0, no limit exists on<br />

the number of characters.<br />

MultiLine: If True, the TextBox can display more than one line of text.<br />

TextAlign: Determines how the text is aligned in the TextBox.<br />

WordWrap: Determines whether the control allows word wrap.<br />

ScrollBars: Determines the type of ScrollBars for the control: horizontal, vertical, both, or none.<br />

ToggleButton control<br />

A ToggleButton control has two states: on or off. Clicking the button toggles between these two states,<br />

and the button changes its appearance. Its value is either True (pressed) or False (not pressed). You can<br />

often use a ToggleButton in place of a CheckBox control.<br />

744

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!