Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
spnz spnz is offline
external usenet poster
 
Posts: 7
Default "Dont add space between paragraphs of the same style" with Word 20

Hi there,

I need to be able to turn the function off.....It is causing me a number of
headaches with some templates that I am using.

Does anyone know a way I can try to turn this off?

As when I use some macros in a template it automatically turns this
on......The macros have all been written in 2000 where this feature did not
exist. Which is causing a nightmare with all the current formatting.


Any help would be great!!!
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default "Dont add space between paragraphs of the same style" with Word 20

For the relevant styles, try setting the
NoSpaceBetweenParagraphsOfSameStyle to False. See the MSDN article at
http://msdn.microsoft.com/library/de...0307591 0.asp
(NoSpaceBetweenParagraphsOfSameStyle Property [Word 2003 VBA Language
Reference])

You may also want to turn on the "Don't use HTML paragraph auto
spacing" compatibility option in Tools | Options, Compatibility tab.
In VBA, something like this should do the trick:

ActiveDocument.Compatibility(wdDontUseHTMLParagrap hAutoSpacing) = True

See the MSDN article at
http://msdn.microsoft.com/library/de...HV03076444.asp
(Compatibility Property [Word 2003 VBA Language Reference])

--
Stefan Blom
Microsoft Word MVP


"spnz" wrote in message
news
Hi there,

I need to be able to turn the function off.....It is causing me a

number of
headaches with some templates that I am using.

Does anyone know a way I can try to turn this off?

As when I use some macros in a template it automatically turns this
on......The macros have all been written in 2000 where this feature

did not
exist. Which is causing a nightmare with all the current formatting.


Any help would be great!!!











Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 97 in Windows XP to maintain formatting Charlie''s Word VBA questions Microsoft Word Help 22 May 20th 23 08:51 PM
Converting WordPerfect 12 files to Word 2003 Curious New Users 4 May 19th 23 02:48 PM
Reveal codes in a word document FUN101 Microsoft Word Help 4 May 16th 23 08:47 PM
I am having difficulty with deleting headers and footers LHD New Users 5 July 24th 06 01:44 AM
hard space between words. Sandy L Microsoft Word Help 7 May 5th 06 08:25 PM


All times are GMT +1. The time now is 03:35 PM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"