Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word VBA

Reply
 
LinkBack Thread Tools Display Modes
  #16  
Old 10-29-2018, 01:46 PM
pentagram_31 pentagram_31 is offline Windows 10 Office 2016
Novice
 
Join Date: Feb 2015
Posts: 13
pentagram_31 is on a distinguished road
Default


I got some help from a friend who is familiar with regex characters:
Code:
.Replacement.Text = "^13^p\1^p\2"
As you can see, he added ^13 to the line, now there is an empty line between each question, that was what I wanted.
I also wonder why the macro changes the font size and type, but that's not a big deal, it does not take too long to change it. If the code should change according to the style I'm using, I won't ask you to make any change, as I have already bothered you, thank you again for helping me.
Reply With Quote
Reply

Tags
macro multiple functions

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite loops occurring in find and replace functions in word macro Thefirstfish` Word VBA 5 04-06-2017 07:18 PM
Why are my Macros combined into a single module? Cyberseeker Excel Programming 1 04-02-2017 02:43 AM
Creating a "super macro" with all kind of functions Xanthopteryx PowerPoint 1 06-16-2016 01:38 AM
what functions would this task use, format, macro ? etc fremoy Word 2 02-16-2015 10:48 AM
Macro to save to a single PDF LukeExcelKid Excel Programming 4 11-17-2013 01:39 PM


All times are GMT -7. The time now is 11:45 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft