Solved

Need Macro for MS Word to Remove Tabs

Posted on 2014-12-15
4
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 51

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will show you how to use shortcut menus in the Access run-time environment.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
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 …
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…

751 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