Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-06-2012, 09:55 AM
rphox2003 rphox2003 is offline MS Word 2007: Cross-Reference Formatting Gone Haywire Windows XP MS Word 2007: Cross-Reference Formatting Gone Haywire Office 2007
Novice
MS Word 2007: Cross-Reference Formatting Gone Haywire
 
Join Date: Mar 2012
Posts: 29
rphox2003 is on a distinguished road
Default MS Word 2007: Cross-Reference Formatting Gone Haywire

I just cannot understand Word. Things will work fine for days, weeks on end and then all of a sudden something stops working or works differently.



I've been inserting cross-references for over a year now and Word inserts the ref with the same style as the para to which I insert it. All of a sudden, Word is inserting the ref in a different font size than the para style!!!!! And I can't change it (except maybe with local formatting which I refuse to do).

I found a fix that calls to add *\charformat to the ref field, which seems like more wasted effort, but I tried it anyway and it also doesn't do anything!

I just noticed that when I position the cursor inside the ref, Word indicates the correct style in the Styles pane - but the font size is still wrong. (BTW, the style DOES have the correct font size.)

Any help!!

Ok, after further fun and games I noticed that if I add a \* charformat (with a trailing space), Word retains the correct para style. BUT WHY DO I HAVE TO ADD THIS SWITCH ALL OF THE SUDDEN!?!
Reply With Quote
  #2  
Old 03-06-2012, 05:02 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is online now MS Word 2007: Cross-Reference Formatting Gone Haywire Windows 7 64bit MS Word 2007: Cross-Reference Formatting Gone Haywire Office 2010 32bit
Moderator
 
Join Date: Aug 2011
Posts: 3,872
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

Note that if the cross-referenced paragraph has direct formatting applied to it, that formatting will be reflected in the cross-reference unless you use the \* CHARFORMAT switch. In other words, take a look at the formatting applied to the cross-referenced item(s).

The \* CHARFORMAT switch actually applies the formatting applied to the first character of the field code. Often, this is no different from the formatting applied to the actual paragraph, of course.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #3  
Old 03-06-2012, 11:23 PM
rphox2003 rphox2003 is offline MS Word 2007: Cross-Reference Formatting Gone Haywire Windows XP MS Word 2007: Cross-Reference Formatting Gone Haywire Office 2007
Novice
MS Word 2007: Cross-Reference Formatting Gone Haywire
 
Join Date: Mar 2012
Posts: 29
rphox2003 is on a distinguished road
Default

Thanks for your quick reply.

I'm not sure what direct formatting is. Is it the same as local formatting, which applies to a single word or sentence? I use only para styles - except if I need to bold a word here or there.

For a cross-ref, I usually type the intro in a paragraph (style). Add a table or graphic in the next para. Add the caption to the table/graphic. Place the cursor at the beginning of the intro (para) and insert the cross-ref. I don't understand why this has stopped to pick up the para style of the intro.
Reply With Quote
  #4  
Old 03-06-2012, 11:44 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is online now MS Word 2007: Cross-Reference Formatting Gone Haywire Windows 7 64bit MS Word 2007: Cross-Reference Formatting Gone Haywire Office 2010 32bit
Moderator
 
Join Date: Aug 2011
Posts: 3,872
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

Direct formatting is formatting not applied via a paragraph style. Usually, direct formatting is local, but nothing prevents you from selecting a whole document and applying bold formatting to it (for example by pressing Ctrl+B), which is why direct formatting is a better term.

Which kind of formatting is being incorrectly applied to the cross-references? Bold? Underline? Something else? Does that same formatting appear elsewhere in the document, for example in the cross-referenced captions?
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #5  
Old 03-06-2012, 11:59 PM
rphox2003 rphox2003 is offline MS Word 2007: Cross-Reference Formatting Gone Haywire Windows XP MS Word 2007: Cross-Reference Formatting Gone Haywire Office 2007
Novice
MS Word 2007: Cross-Reference Formatting Gone Haywire
 
Join Date: Mar 2012
Posts: 29
rphox2003 is on a distinguished road
Default

The funny thing is that if I place the cursor in the cross-ref, the Styles pane indicates that it is the same style as the rest of the para - but it has a smaller font size!
Reply With Quote
  #6  
Old 03-07-2012, 12:38 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is online now MS Word 2007: Cross-Reference Formatting Gone Haywire Windows 7 64bit MS Word 2007: Cross-Reference Formatting Gone Haywire Office 2010 32bit
Moderator
 
Join Date: Aug 2011
Posts: 3,872
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

What about the cross-referenced item then? If you select it and press Ctrl+SpaceBar (to remove direct font formatting and reset to the underlying style), what happens?
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #7  
Old 03-13-2012, 01:35 AM
rphox2003 rphox2003 is offline MS Word 2007: Cross-Reference Formatting Gone Haywire Windows XP MS Word 2007: Cross-Reference Formatting Gone Haywire Office 2007
Novice
MS Word 2007: Cross-Reference Formatting Gone Haywire
 
Join Date: Mar 2012
Posts: 29
rphox2003 is on a distinguished road
Default

I don't think I should have to remove something (direct formatting) that I didn't put there in the first place.

I'm trying to save myself work, not add more. Isn't there just some setting somewhere that may have been changed -although I certainly didn't do it.
Reply With Quote
  #8  
Old 03-13-2012, 08:14 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is online now MS Word 2007: Cross-Reference Formatting Gone Haywire Windows 7 64bit MS Word 2007: Cross-Reference Formatting Gone Haywire Office 2010 32bit
Moderator
 
Join Date: Aug 2011
Posts: 3,872
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

If you try resetting the formatting, does it make a difference (after you update the cross-reference)?
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Word 2007: Cross-Reference Formatting Gone Haywire Word 2007 Caption/Cross-reference problem yeatsbaby Word 9 04-10-2012 03:16 PM
Cross-reference problem Marineboy Word 2 08-05-2011 03:37 AM
MS Word 2007: Cross-Reference Formatting Gone Haywire Cross-reference in two lines!!!!! Jamal NUMAN Word 3 04-12-2011 06:47 AM
Cross-reference feature problems in Word 2010 bannisa Word 0 02-13-2011 03:28 AM
How do I return from a cross reference? smoggymark Word 0 10-21-2008 07:45 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft