Quantcast
Channel: ShaunaKelly.com
Browsing latest articles
Browse All 18 View Live

Image may be NSFW.
Clik here to view.

How to detect frames in paragraph styles

In the user interface, it is obvious if a paragraph style has a frame. The frame is visible: when you click in a paragraph of that style, you can see the frame boundaries. The frame is functional:...

View Article



How to hide table styles on the Table Tools Design tab in Word (for developers)

The problem: does anyone need 99 ways to format a table? In Word 2007 and Word 2010, when you click within a table, two Table Tools contextual tabs become available on the Ribbon. The Design tab...

View Article

Reading Conditions of a Word table style (for developers)

The problem A Table style in Word has a .Table.Condition method that returns a ConditionalStyle object. The ConditionalStyle objects refer to different elements of the table: top row, left column,...

View Article

Image may be NSFW.
Clik here to view.

Error 5848 “The style definition is empty”, or, why are there two Normal...

What causes this error? I can't find any reference from Microsoft to the cause of error 5848 "The style definition is empty.". But I can identify at least one way in which this error occurs. This only...

View Article

Borders in table styles

Microsoft introduced table styles in Word 2002. There are 7 different objects that manage borders in a table style. My experience is that some of them work and some don't. This page describes my...

View Article


Image may be NSFW.
Clik here to view.

Background and foreground: Shading in paragraph styles

To set background and foreground colours, do these steps in order: Set the .BackgroundPatternColor. Set the .Texture. If you don't want a visible texture, set texture to wdTextureNone. Set the...

View Article

Shading (ie background colour) in table styles

Shading in table styles: what works? To apply background shading in table styles, apply the shading to a table style's .Table.Condition. No other shading works reliably. This page is for developers....

View Article

Word reports the .BaseStyle of styles inaccurately

The problem Word styles cascade. Out of the box, a few styles have no parent, but most are based on another style. In the object model, this is controlled through the .BaseStyle property. One of the...

View Article


4 ways to control page breaks within tables and table styles (for developers)

Controlling page breaks in tables and table styles Style.Table _ .AllowBreakAcrossPage controls page breaks within all rows. Table.Rows(n) _ .AllowBreakAcrossPages controls page breaks within one or...

View Article


Image may be NSFW.
Clik here to view.

How to create numbered headings or outline numbering in Word 2007 and Word 2010

How you set up numbered headings depends on what version of Word you have. This page is about setting up numbered headings in Word 2007 and Word 2010. If you have Word 2003 or an earlier version, see...

View Article
Browsing latest articles
Browse All 18 View Live




Latest Images