document properties (1 Viewer)

conception_native_0123

Well-known member
Local time
Today, 14:51
Joined
Mar 13, 2021
Messages
1,528
i might need help and this is simple. sorry to ask. i'm having trouble with alignment. my document is align text based on multiple lines and i do not know what properties are causing problem. what i want to do is very simple. steps are listed below

1) document title (center alignment).
2) 2 lines underneath #1, section header (left alignment).
3) 1 line underneath #2, section of text.
4) repeat process #1-3 number of more times.

can someone tell me what i doing wrong? thank you.
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 14:51
Joined
Feb 28, 2001
Messages
22,864
You should be able to highlight each chunk of text easily to assert the centering and left justification behavior you want. So if you are having trouble then you must not be doing this manually. Are you trying to PROGRAMMATICALLY do this in VBA?


Take a look at this thread when I found out just how "touchy" Word can be when VBA gets involved. You'll find more than one chunk of semi-useful code there.
 

conception_native_0123

Well-known member
Local time
Today, 14:51
Joined
Mar 13, 2021
Messages
1,528
i do not havce any code written in the document doc man. it is simple document. i know know what is wrong but i have this problem for quite a while now. when i highlight one line of text, a lot of text above and beneath that line justifies with the highlighted text :(
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 14:51
Joined
Feb 28, 2001
Messages
22,864
Oh, manual? Then perhaps your problem is that you need to implement section breaks. Formats aren't supposed to "bleed across" section breaks. You can use the menu to insert a section break at each place where you have a format change. But that might get tedious quickly, so there is another way, maybe.

Have you played with the STYLES menu? You can build a custom style with a set of properties like centered, underlined, bolded, specific font and font size, etc. If you can build three styles, each one according to your descriptions in the 1st post of this thread, then you SHOULD be able to highlight one line, click the special style, highlight the next line, click the next style, then highlight the next line and click the 3rd style. I use that all the time. Should be trivial if tedious.

One of the tricks to create custom styles is to start with your normal style. Then using the styles menu, you can create a new style and "diddle" with its properties. But if all of the "special" styles are based on normal then they are compatible with each other and thus are less problematic.

To take this approach, start with your Word document without any of the special formatting - or even completely blank. Select the "Home" tab on the ribbon. You should see a set of styles in the center and right of the ribbon. To the right of the style list there is a vertical scroll bar and then a button at lower right of the list in a box with a down-pointing triangle. Click this.

You will be able to choose a style (and I suggest whatever is Normal - capitalized because I'm referring to a specific style name). Then you can click from the list of options to "Copy the selected style to create a new style." You will have to name it. But THEN you can RIGHT-click the style to modify it. You have a TON of options for style formatting explicitly including centering or left/right justification, define paragraphs to being with an indent (or even an OUTdent), change font types and weights and sizes, you can even change text color and background.
 

conception_native_0123

Well-known member
Local time
Today, 14:51
Joined
Mar 13, 2021
Messages
1,528
ok i understand everything you say doc man. i will try everything and post again if i have trouble. thank you! :)
 

Users who are viewing this thread

Top Bottom