A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

ActiveX Form Controls preventing Field Updating



 
 
Thread Tools Display Modes
  #1  
Old February 19th, 2010, 11:38 PM posted to microsoft.public.word.pagelayout,microsoft.public.word.programming,microsoft.public.word.vba.general,microsoft.public.word.vba.userforms
David Horowitz
external usenet poster
 
Posts: 11
Default ActiveX Form Controls preventing Field Updating

Hi folks. Has anyone seen this problem or know a solution?
1. Hit F9.
2. Type the following field code:
{ TIME \@ "hh:mm:ss" }
3. Save the document (if in Word 2007, save it in the 97-2003 format).
4. Close the document.
5. Re-open the document.
6. Notice the time has correctly updated.
7. Do it again if you want (steps 4 & 5) - the time keeps updating, as it
should. So far, so good.
8. Now select View Toolbars Control Toolbox (in Word 2003) or Developer
tab Controls group Legacy Tools button ActiveX Controls Check Box
(in Word 2007). You will see Checkbox1.
9. Save the changes.
10 . Close the document.
11. Re-open the document.
12. The time field is now frozen and will only update if I hit F9.
Is this a known bug? Is there any workaround without coding a macro that
would call Field.Update?
(Incidentally, I'm in Print Layout mode. I do NOT have "Update Fields when
printing" options set.)
TIA,
David
--
David Horowitz
Lead Technologist
Soundside Inc.



  #2  
Old February 20th, 2010, 12:34 PM posted to microsoft.public.word.pagelayout,microsoft.public.word.programming,microsoft.public.word.vba.general,microsoft.public.word.vba.userforms
Graham Mayor
external usenet poster
 
Posts: 18,297
Default ActiveX Form Controls preventing Field Updating

It happens here too - use a legacy form field check box instead..



"David Horowitz" wrote in message
...
Hi folks. Has anyone seen this problem or know a solution?
1. Hit F9.
2. Type the following field code:
{ TIME \@ "hh:mm:ss" }
3. Save the document (if in Word 2007, save it in the 97-2003 format).
4. Close the document.
5. Re-open the document.
6. Notice the time has correctly updated.
7. Do it again if you want (steps 4 & 5) - the time keeps updating, as it
should. So far, so good.
8. Now select View Toolbars Control Toolbox (in Word 2003) or
Developer tab Controls group Legacy Tools button ActiveX Controls
Check Box (in Word 2007). You will see Checkbox1.
9. Save the changes.
10 . Close the document.
11. Re-open the document.
12. The time field is now frozen and will only update if I hit F9.
Is this a known bug? Is there any workaround without coding a macro that
would call Field.Update?
(Incidentally, I'm in Print Layout mode. I do NOT have "Update Fields when
printing" options set.)
TIA,
David
--
David Horowitz
Lead Technologist
Soundside Inc.





  #3  
Old February 20th, 2010, 12:36 PM posted to microsoft.public.word.pagelayout,microsoft.public.word.programming,microsoft.public.word.vba.general,microsoft.public.word.vba.userforms
Stefan Blom[_3_]
external usenet poster
 
Posts: 4,556
Default ActiveX Form Controls preventing Field Updating

By default, any document with ActiveX controls will be forced into Design
mode (which, among other things, prevents the automatic updating of fields).
This is not a bug but a macro security feature.

--
Stefan Blom
Microsoft Word MVP



"David Horowitz" wrote in message
...
Hi folks. Has anyone seen this problem or know a solution?
1. Hit F9.
2. Type the following field code:
{ TIME \@ "hh:mm:ss" }
3. Save the document (if in Word 2007, save it in the 97-2003 format).
4. Close the document.
5. Re-open the document.
6. Notice the time has correctly updated.
7. Do it again if you want (steps 4 & 5) - the time keeps updating, as it
should. So far, so good.
8. Now select View Toolbars Control Toolbox (in Word 2003) or
Developer tab Controls group Legacy Tools button ActiveX Controls
Check Box (in Word 2007). You will see Checkbox1.
9. Save the changes.
10 . Close the document.
11. Re-open the document.
12. The time field is now frozen and will only update if I hit F9.
Is this a known bug? Is there any workaround without coding a macro that
would call Field.Update?
(Incidentally, I'm in Print Layout mode. I do NOT have "Update Fields when
printing" options set.)
TIA,
David
--
David Horowitz
Lead Technologist
Soundside Inc.






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.