Solved

Need Macro for MS Word to Remove Tabs

Posted on 2014-12-15
4
206 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 49

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

911 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

20 Experts available now in Live!

Get 1:1 Help Now