![]() |
|
#1
|
||||
|
||||
![]()
The original macro does not work, because what you are actually looking for is not what you said you were looking for. The macro looks for paragraphs that start with 'Choice (', whereas now you tell us that the paragraph begins with 'Answer ('.
![]() Code:
For Each oPara In ActiveDocument.Paragraphs If oPara.Range.Text Like "Choice (*" Then oPara.Style = "Extra Space" End If Next oPara
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plain Text Content Control - Losing Styling on Carriage Return | kintap | Word | 0 | 07-16-2014 12:43 PM |
![]() |
Alaska1 | Word | 1 | 01-14-2013 08:48 AM |
![]() |
sinbad | Word VBA | 6 | 02-27-2012 03:51 AM |
![]() |
revrossreddick | Word | 2 | 12-28-2011 01:33 PM |
Carriage Return Help | UCHelp | Word | 1 | 04-04-2010 10:11 PM |