![]() |
|
#2
|
||||
|
||||
|
What is it that is selected? Space after applies to all the paragraphs within the selected range.
If you want something that applies only to the last paragraph in the range then you must tell the macro to limit to that paragraph e.g. Code:
Selection.Paragraphs.Last.SpaceAfter = Code:
Selection.Paragraphs(3).SpaceAfter =
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Change color according with dropdown selection
|
spk | Word VBA | 43 | 07-31-2022 03:51 PM |
How to remove a new line from a selection only
|
rajeshkhan808 | Word | 2 | 09-13-2014 08:36 PM |
Selection of all Text for a specific page in word is spanning selection across pages
|
ramsgarla | Word VBA | 9 | 12-05-2012 03:23 AM |
Change cell color when selection is made from a drop down list
|
fedcco | Excel | 12 | 08-28-2012 10:43 PM |
| Don't indent the fist line of the first paragraph after a style change | Inspirement | Word | 1 | 04-08-2012 05:30 AM |