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 » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

WORD 2007: Can't automatically update Normal style using macro



 
 
Thread Tools Display Modes
  #1  
Old April 5th, 2010, 03:20 AM posted to microsoft.public.word.formatting.longdocs
Lorretta
external usenet poster
 
Posts: 2
Default WORD 2007: Can't automatically update Normal style using macro

I'm desperate. Can Suzanne S. Barnhill or someone update her comments in
"Formatting applied to one paragraph affects the entire document." I am
using Word 2007 and cannot get the VBA macro to work. I followed the
instructions at
http://word.mvps.org/faqs/formatting...eformatted.htm, but when
I hit "Enter," the cursor just goes to the next line. So I exited VBA, which
took me back to the document, I saved it, and the problem remains.

I would appreciate any help at all. I cannot work with Word changing things
willy-nilly like this.
Ads
  #2  
Old April 5th, 2010, 10:37 AM posted to microsoft.public.word.formatting.longdocs
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default WORD 2007: Can't automatically update Normal style using macro

Is it paragraphs to which the normal style is applied that are changing, or
do they has some other style applied to them.

If you inserted that command into the immediate window and pressed enter,
the command would have been executed and the automatic updating of the
normal style would have been set to false.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Lorretta" wrote in message
...
I'm desperate. Can Suzanne S. Barnhill or someone update her comments in
"Formatting applied to one paragraph affects the entire document." I am
using Word 2007 and cannot get the VBA macro to work. I followed the
instructions at
http://word.mvps.org/faqs/formatting...eformatted.htm, but
when
I hit "Enter," the cursor just goes to the next line. So I exited VBA,
which
took me back to the document, I saved it, and the problem remains.

I would appreciate any help at all. I cannot work with Word changing
things
willy-nilly like this.


  #3  
Old April 5th, 2010, 12:36 PM posted to microsoft.public.word.formatting.longdocs
Stefan Blom[_3_]
external usenet poster
 
Posts: 4,556
Default WORD 2007: Can't automatically update Normal style using macro

When you press Enter after having typed

ActiveDocument.Styles(wdStyleNormal).Automatically Update = False

in the Immediate window, automatic updating will be turned off for the
Normal style, but note that this doesn't remove any unwanted changes already
saved to the style. You may have to modify the style to get the look that
you want.

Also, note that if automatically update has been turned on for other styles,
you will have to deal with those styles separately (use the Modify Style
dialog box).

--
Stefan Blom
Microsoft Word MVP



"Lorretta" wrote in message
...
I'm desperate. Can Suzanne S. Barnhill or someone update her comments in
"Formatting applied to one paragraph affects the entire document." I am
using Word 2007 and cannot get the VBA macro to work. I followed the
instructions at
http://word.mvps.org/faqs/formatting...eformatted.htm, but
when
I hit "Enter," the cursor just goes to the next line. So I exited VBA,
which
took me back to the document, I saved it, and the problem remains.

I would appreciate any help at all. I cannot work with Word changing
things
willy-nilly like this.





  #4  
Old April 5th, 2010, 02:11 PM posted to microsoft.public.word.formatting.longdocs
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default WORD 2007: Can't automatically update Normal style using macro

To add to what Doug and Stefan have said, before you assume that automatic
updating is your problem (especially if you have pasted content from the
Web), turn on the display of nonprinting characters and make sure that you
are actually dealing with separate paragraphs and not a single long
paragraph connected by line breaks.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Lorretta" wrote in message
...
I'm desperate. Can Suzanne S. Barnhill or someone update her comments in
"Formatting applied to one paragraph affects the entire document." I am
using Word 2007 and cannot get the VBA macro to work. I followed the
instructions at
http://word.mvps.org/faqs/formatting...eformatted.htm, but
when
I hit "Enter," the cursor just goes to the next line. So I exited VBA,
which
took me back to the document, I saved it, and the problem remains.

I would appreciate any help at all. I cannot work with Word changing
things
willy-nilly like this.


  #5  
Old April 5th, 2010, 04:37 PM posted to microsoft.public.word.formatting.longdocs
Lorretta
external usenet poster
 
Posts: 2
Default WORD 2007: Can't automatically update Normal style using macro

Thanks, Doug, Stefan, and Suzanne. I'll go back and try again and watch
carefully. I'm not pasting from the Web, but maybe there are soft returns
there instead of hard returns -- I'll check that out.

I also don't know if this problem is related, but when I work in one
document and have everything formatted in 12-pt Arial, then cut and paste
that material into another document, definitely in its own paragraph (i.e., I
have used hard returns), everything that was bold in the 1st document is
roman in the 2nd, and everything that was roman is bold. The pasted-in
material is also 16 point instead of 12 pt. I have my Word Options,
Advanced, Cut and Paste settings set to "Match Destination Formatting, but
the destination document (2nd doument) is also Arial 12 pt.

Is this related to my problem with Normal style or an entirely different
situation?

Thanks again to all for your help.

Lorretta

"Suzanne S. Barnhill" wrote:

To add to what Doug and Stefan have said, before you assume that automatic
updating is your problem (especially if you have pasted content from the
Web), turn on the display of nonprinting characters and make sure that you
are actually dealing with separate paragraphs and not a single long
paragraph connected by line breaks.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Lorretta" wrote in message
...
I'm desperate. Can Suzanne S. Barnhill or someone update her comments in
"Formatting applied to one paragraph affects the entire document." I am
using Word 2007 and cannot get the VBA macro to work. I followed the
instructions at
http://word.mvps.org/faqs/formatting...eformatted.htm, but
when
I hit "Enter," the cursor just goes to the next line. So I exited VBA,
which
took me back to the document, I saved it, and the problem remains.

I would appreciate any help at all. I cannot work with Word changing
things
willy-nilly like this.


.

  #6  
Old April 5th, 2010, 06:24 PM posted to microsoft.public.word.formatting.longdocs
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default WORD 2007: Can't automatically update Normal style using macro

You might see whether
http://www.shaunakelly.com/word/styl...xtChanges.html explains
what you're seeing.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Lorretta" wrote in message
...
Thanks, Doug, Stefan, and Suzanne. I'll go back and try again and watch
carefully. I'm not pasting from the Web, but maybe there are soft returns
there instead of hard returns -- I'll check that out.

I also don't know if this problem is related, but when I work in one
document and have everything formatted in 12-pt Arial, then cut and paste
that material into another document, definitely in its own paragraph
(i.e., I
have used hard returns), everything that was bold in the 1st document is
roman in the 2nd, and everything that was roman is bold. The pasted-in
material is also 16 point instead of 12 pt. I have my Word Options,
Advanced, Cut and Paste settings set to "Match Destination Formatting, but
the destination document (2nd doument) is also Arial 12 pt.

Is this related to my problem with Normal style or an entirely different
situation?

Thanks again to all for your help.

Lorretta

"Suzanne S. Barnhill" wrote:

To add to what Doug and Stefan have said, before you assume that
automatic
updating is your problem (especially if you have pasted content from the
Web), turn on the display of nonprinting characters and make sure that
you
are actually dealing with separate paragraphs and not a single long
paragraph connected by line breaks.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Lorretta" wrote in message
...
I'm desperate. Can Suzanne S. Barnhill or someone update her comments
in
"Formatting applied to one paragraph affects the entire document." I
am
using Word 2007 and cannot get the VBA macro to work. I followed the
instructions at
http://word.mvps.org/faqs/formatting...eformatted.htm, but
when
I hit "Enter," the cursor just goes to the next line. So I exited VBA,
which
took me back to the document, I saved it, and the problem remains.

I would appreciate any help at all. I cannot work with Word changing
things
willy-nilly like this.


.



 




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 09:35 AM.


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