Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2019, 05:47 AM
Stingerhawk Stingerhawk is offline Word does not detect any text when applying style reference Windows 7 64bit Word does not detect any text when applying style reference Office 2007
Novice
Word does not detect any text when applying style reference
 
Join Date: Apr 2019
Location: France
Posts: 4
Stingerhawk is on a distinguished road
Default Word does not detect any text when applying style reference

Hi there. If there is actually another topic with similar question please mind to redirect me.

I discovered a problem while trying to make a proper header. On the first page of my document I have several zones with strings of characters. I want to reference these zones in order to transfer all character strings from there to header. And once text is modified in the first page it should be updated automatically in the header.

First I've tried to simply use bookmarks. However, it does not work the way I need it. I can reference only text, but not the zone. I want to be able to delete all characters from text zone without losing the reference, which is apparently not possible with this method.

I've tried to use style reference by creating a specific style for each text zone. When I try to refer to each style while using QuickPart>Field>Style I have the above-mentioned error:"Error! No text of specified style in document". Although I literally have text with this style applied in the document. And it's unique so no other text is using same style. I don't understand, how does it work. I can't figure out what I'm doing wrong.



I would be grateful if someone could help me meet this requirement by fixing style reference issue or sharing with me another method.

Thank you in advance.
Reply With Quote
  #2  
Old 04-19-2019, 06:27 AM
macropod's Avatar
macropod macropod is offline Word does not detect any text when applying style reference Windows 7 64bit Word does not detect any text when applying style reference Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You can use a STYLEREF field to refer to content in a given Style. If you have multiple 'zones' as you call them, simply create a Style for each one the reference each via their own STYLEREF fields. No bookmarks needed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-19-2019, 06:44 AM
Charles Kenyon Charles Kenyon is offline Word does not detect any text when applying style reference Windows 10 Word does not detect any text when applying style reference Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,083
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Here is more on the styleref field. It is one of the really nice features in Word that is little known:
Reply With Quote
  #4  
Old 04-26-2019, 01:33 AM
Stingerhawk Stingerhawk is offline Word does not detect any text when applying style reference Windows 7 64bit Word does not detect any text when applying style reference Office 2016
Novice
Word does not detect any text when applying style reference
 
Join Date: Apr 2019
Location: France
Posts: 4
Stingerhawk is on a distinguished road
Default

Thank you very much!
Reply With Quote
Reply

Tags
header, reference, text

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically applying character style while using fast style feature Didier Super Word 1 04-10-2017 05:10 AM
Word 2016 how can I detect text changes? MAtkins Word VBA 9 08-10-2016 05:54 PM
Word does not detect any text when applying style reference End note Text Style and End note Reference Style Kohawk65 Word 4 01-08-2016 08:29 AM
Word does not detect any text when applying style reference When applying styles word is automatically reverting to "strong" style partway through my document Victoria S Word 3 11-17-2015 12:51 PM
Character style stripped while applying paragraph style sams_gates Word 0 08-29-2009 02:03 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:25 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