Solved

Need Macro for MS Word to Remove Tabs

Posted on 2014-12-15
4
202 Views
Last Modified: 2014-12-16
I have a 2500 page Word document with short paragraphs of (+/-) 1-4 sentences each.
I believe 100% of the paragraphs are separated by a line space.
I believe 99% of the paragraphs are indented (i.e., someone hit tab).
I need a macro to remove the tab indentation, but not crash or choke if the paragraph does not have a line space (or if there is more than one line space).
The final product should have each paragraph separated by a line space, but with no tab/indent. That will allow me to bring select snippets of it into MS PowerPoint without issue.
Thank you.
0
Comment
Question by:normanwillis
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
Steven Harris earned 250 total points
ID: 40501886
It sounds like all you need to do is run a find/replace on the tab character. This will  leave your line spacing.

Find:  ^9
Leave the replace with field blank.
0
 

Author Comment

by:normanwillis
ID: 40501923
Ok, awesome! That left a space.
It looks like it has a single space, and then a tab.
How can I remove the space also?
0
 
LVL 48

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 250 total points
ID: 40502043
On the firs version of the file

Find
Enter space followed by ^9 so you only have threee characters

Leave replace with nothing

Regards
0
 

Author Closing Comment

by:normanwillis
ID: 40502572
Short, sweet, and to the point.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now