Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need Macro for MS Word to Remove Tabs

Posted on 2014-12-15
4
Medium Priority
?
244 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 1000 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 53

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 1000 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

If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
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.
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

885 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