Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2016, 07:21 AM
Stephen0352 Stephen0352 is offline Updating fieldcodes deleted a whole document? Windows 7 64bit Updating fieldcodes deleted a whole document? Office 2010 64bit
Novice
Updating fieldcodes deleted a whole document?
 
Join Date: Sep 2011
Location: Copenhagen
Posts: 29
Stephen0352 is on a distinguished road
Default Updating fieldcodes deleted a whole document?

Hi
I have a long 300 page Word 2013 document, in which the TOC has fieldcodes. I read somewhere that fieldcodes should update automatically when the file is opened. This didnīt seem to be the case in my document, so I tried Ctrl+A+F9 as I had seen recommended several places, also in Office Help.
Something strange then happened: the fieldcodes did update, but the whole document became marked and I could not remove this. I then saved and closed the document.
When I opened it again, all that was left of the 300 pages was 5 pages of footnotes, continously numbered (I had "pagenumbering" in the document).
Even more strange: the size of the document is still the same!!!



Can anyone enlighten me on this puzzle? And what is the trick to update all fieldcodes, if not Ctrl+A+F9?
Reply With Quote
  #2  
Old 04-13-2016, 11:00 AM
Charles Kenyon Charles Kenyon is offline Updating fieldcodes deleted a whole document? Windows 8 Updating fieldcodes deleted a whole document? Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,470
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

Ctrl+A followed by F9 updates all field codes in the text layer of the document.
I hope you kept a backup.
When something like this happens, Ctrl+Z (undo) is your friend.
Reply With Quote
  #3  
Old 04-13-2016, 01:12 PM
Stephen0352 Stephen0352 is offline Updating fieldcodes deleted a whole document? Windows 7 64bit Updating fieldcodes deleted a whole document? Office 2013
Novice
Updating fieldcodes deleted a whole document?
 
Join Date: Sep 2011
Location: Copenhagen
Posts: 29
Stephen0352 is on a distinguished road
Default

Thanks for answer, but when the command Ctrl+A+F9 is performed, one wouldnīt expect the total marking of the entire document to remain afterwards. How do you remove that marking, so you can get on with your work? Ctrl+Z would - I presume - take the fieldcodes back to where they were before updating, right?
And how does the deleting of the entire text occur - since I didnīt press any delete-key?

And yes - I did have a backup
Reply With Quote
  #4  
Old 04-13-2016, 06:01 PM
Charles Kenyon Charles Kenyon is offline Updating fieldcodes deleted a whole document? Windows 8 Updating fieldcodes deleted a whole document? Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,470
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

Without looking at your document, I haven't a clue. I suspect that the text was contained in a field but there is no way to know.

And, it is Ctrl+A followed by F9, not all three together. I have no idea what all three together might do.
Reply With Quote
  #5  
Old 04-13-2016, 08:10 PM
macropod's Avatar
macropod macropod is offline Updating fieldcodes deleted a whole document? Windows 7 64bit Updating fieldcodes deleted a whole document? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,375
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

In all likelihood you had the Ctrl key down when you pressed F9. Having just pressed Ctrl-A, the result would be to embed the entire document in a field. The solution, if you've saved & closed the document, is to press Alt-F9 to expose the field code, then select & cut everything between the first & last field braces (i.e. { .... }) in the document, delete those field braces, then paste the content back into the document; otherwise Undo will revert the changes.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #6  
Old 04-13-2016, 10:08 PM
Stephen0352 Stephen0352 is offline Updating fieldcodes deleted a whole document? Windows 7 64bit Updating fieldcodes deleted a whole document? Office 2013
Novice
Updating fieldcodes deleted a whole document?
 
Join Date: Sep 2011
Location: Copenhagen
Posts: 29
Stephen0352 is on a distinguished road
Default

Thanks, Iīll try the suggested. As I remenber, I pressed all 3 keys simultaniously. But itīs a 2-step command, as I understand you. First Ctrl+A, break, and then F9, right?
Reply With Quote
  #7  
Old 04-13-2016, 10:24 PM
macropod's Avatar
macropod macropod is offline Updating fieldcodes deleted a whole document? Windows 7 64bit Updating fieldcodes deleted a whole document? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,375
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 must let go of the Ctrl key before pressing F9 - there is nothing to prevent you continuing to hold it (and the A) down when pressing the F9. A nanosecond of finger trouble while updating can get you into this predicament.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is part of document deleted or not? DBlomgren Word 6 07-24-2015 08:31 PM
Borders deleted when emailing or printing document? bp2k15 Word 5 01-14-2015 04:39 PM
Referencing FieldCodes in VBA ptmuldoon Word VBA 12 01-11-2015 06:39 PM
Using FieldCodes, AutoText, BuildingBlocks ptmuldoon Word 5 01-02-2015 01:33 PM
Document Get Deleted When We save dil_09 Word 0 08-29-2009 09:59 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:10 AM.


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