Solved

Need Macro for MS Word to Remove Tabs

Posted on 2014-12-15
4
229 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 52

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

632 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