Export (0) Print
Expand All
Expand Minimize

TextBkgnd Cell (Text Block Format Section)

Office 2007

Determines the text background color for a shape.

Remarks

The TextBkgnd cell can have any value from 0 through 24, or 255. The values 0 and 255 (visTxtBlklOpaque) both indicate a transparent text background. To select a color value, add 1 to the value displayed in the Color Palette dialog box (click Color Palette on the Tools menu).

To enter a custom color, use the RGB or HSL function plus one—for example, RGB(255,127,255)+1. The value of a custom color is its RGB color, and RGB(r, g, b)+1, rather than a number, will be shown in the ShapeSheet window. When used in numeric operations, custom colors have values of 25 and above.

You can set the transparency of the text background color in the TextBkgndTrans cell.

To get a reference to the TextBkgnd cell by name from another formula, or from a program using the CellsU property, use:

Cell name:

TextBkgnd

To get a reference to the TextBkgnd cell by index from a program, use the CellsSRC property with the following arguments:

Section index:

visSectionObject

Row index:

visRowText

Cell index:

visTxtBlkBkgnd



Community Additions

ADD
Show:
© 2014 Microsoft