Is there a way to cause fileds to auto-update

C

Colbert Zhou [MSFT]

Hello Dave,

Firstly, I want to make sure I understand your issue correctly. Now the
problem is when we open a saved Word document, some fields like the
NUMPAGES does not recalculate and appear incorrectly, right? If I have any
misunderstanding, please feel free to correct me.

If that is the case, as far as I know, there is not a setting in Word to
control this. We have to manually active the document to force the update.
This is reported here before,
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?&query=Nu
mPages+Error+back+in+Word+2007&lang=en&cr=&guid=&sloc=en-us&dg=microsoft.pub
lic.office.developer.com.add_ins&p=1&tid=156d32c7-8eba-4426-803b-316b9225768
a&mid=156d32c7-8eba-4426-803b-316b9225768a
Peter has provided a Add-In workaround in the above discussion. And I also
have submitted the issue internally. The PG says that this issue is fixed
in the Word 14.

If you have any future questions or concerns, please feel free to let me
know and I will be happy to provide future assistance. Have a nice day!

Best regards,
Colbert Zhou (colbertz @online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
 
P

Peter Karlström

Hi David

I read Colberts post and I thought I could contribute to this thread.
We got it fixed using a small COM Addin made in VB6 with the following:

In the DocumentOpen event, put this code:

Doc.PrintPreview
Doc.ClosePrintPreview
Doc.PrintPreview
Doc.ClosePrintPreview
Doc.ActiveWindow.View.ShowHiddenText = Not
Doc.ActiveWindow.View.ShowHiddenText
Doc.ActiveWindow.View.ShowHiddenText = Not
Doc.ActiveWindow.View.ShowHiddenText

The PrintPreview has to be mad twice in order to "kick in".
Also the ShowHiddenText is toggled twice to get it back to user settings,
and this procedure has been proved to help in some cases.

Hope this helps.

Best Regards
 
D

David Thielen

Hi;

We found SelectAll, F9 does it too. The problem is when people
generate reports that get sent to others and they don't have the macro
loaded.

I was hoping the Word file spec had a setting like the Excel one that
says recalculate the spreadsheet upon loading.

thanks - dave



Hi David

I read Colberts post and I thought I could contribute to this thread.
We got it fixed using a small COM Addin made in VB6 with the following:

In the DocumentOpen event, put this code:

Doc.PrintPreview
Doc.ClosePrintPreview
Doc.PrintPreview
Doc.ClosePrintPreview
Doc.ActiveWindow.View.ShowHiddenText = Not
Doc.ActiveWindow.View.ShowHiddenText
Doc.ActiveWindow.View.ShowHiddenText = Not
Doc.ActiveWindow.View.ShowHiddenText

The PrintPreview has to be mad twice in order to "kick in".
Also the ShowHiddenText is toggled twice to get it back to user settings,
and this procedure has been proved to help in some cases.

Hope this helps.

Best Regards


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
C

Colbert Zhou [MSFT]

Hello Dave,

Based on my research, Word file spec does not have such a setting to
control this, like Excel. Actually, because Excel does have a lot Formulas
in it, so it needs the recalculation of the spreadsheet upon loading. The
problem we are facing in Word is another one and it is already fixed in the
Word 14.

Using a loading macro or a small add-in is a simple way to work around the
problem currently. Would you mind letting me know the report generating
process? So that we can try to find if there is a way to load the add-in
when report generating, and force it update.

Good day! :)

Best regards,
Colbert Zhou (colbertz @online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top