A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Replacing style of the first word of a paragraph only



 
 
Thread Tools Display Modes
  #11  
Old November 21st, 2005, 05:48 PM posted to microsoft.public.word.formatting.longdocs
external usenet poster
 
Posts: n/a
Default Replacing style of the first word of a paragraph only

Hi Alejandro,

You did say that the word you need to apply the style to already has a
different font from the rest, right? Because that should work, if those
words are the only ones formatted in that font--I hadn't tested it before
but I just did and it works here (MacWord 2004).

However, in the Replace box, the style you choose *must* be a character
style (denoted by underscored "a"), not a paragraph style (denoted by ¶ in
the list in the Style dialog).

If you use a paragraph style for the Replace setting, then the entire
paragraph does change. But it works if you use a character style, and a
character style is what you want for dictionary-style headings anyhow.

Is your DefinedStyle a paragraph or a character style?


On 11/21/05 9:12 AM, "homeologica" wrote:

Thanks Daiya:

Your procedure format all paragraph instead the first word (Tahoma 11pt)

This word must appear in each page heading.

Alejandro Fernandez



--
Daiya Mitchell, MVP Mac/Word
Word FAQ: http://www.word.mvps.org/
MacWord Tips: http://www.word.mvps.org/MacWordNew/
What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/

  #12  
Old November 21st, 2005, 07:16 PM posted to microsoft.public.word.formatting.longdocs
external usenet poster
 
Posts: n/a
Default Replacing style of the first word of a paragraph only

Yes Daiya, you're right. Character style works fine.

Thanks a lot. Thanks to Greg too.

Alejandro Fernandez


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hard space between words. Sandy L General Discussion 7 May 5th, 2006 08:25 PM
how do i set up template in vbeditor without proggramming language ARRRGH New Users 4 October 1st, 2005 03:19 AM
Envelope Address GR New Users 5 April 24th, 2005 09:48 PM
Word 2000/2002 - Proper Mail Merge steps for ODBC? Tony_VBACoder Mailmerge 7 September 2nd, 2004 09:21 PM
modify heading 2 style in Word xp sam New Users 6 June 9th, 2004 12:03 AM


All times are GMT +1. The time now is 09:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.