Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Word 2007, an obvious candidate for updating all the fields in a range is

myrange.Fields.Update

But if the range is the element of ActiveDocument.StoryRanges corresponding to the footnotes, endnotes or comments, this triggers a confirmation pop-up “Word cannot undo this action. Do you want to continue?”

What is this pop-up telling me about? How do I get rid of it (if it's not important)?

An obvious workaround is to iterate over the fields and call each field's Update method. It doesn't fire up that question. But if I do this, what do I miss?

following up to How do I update all fields in a Word document

share|improve this question

1 Answer 1

I can't find any explanation of what can't be undone and it seems as per this discussion that you can actually undo these if you have one. It also suggests that setting Application.DisplayAlerts = wdAlertsNone can suppress the error message.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.