Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2014, 04:20 PM
ekesawi ekesawi is offline Convert indent to tabs a document converted from PDF Windows 7 64bit Convert indent to tabs a document converted from PDF Office 2010 64bit
Novice
Convert indent to tabs a document converted from PDF
 
Join Date: Dec 2012
Posts: 9
ekesawi is on a distinguished road
Default

Thank Paul and other for the great input and the code for the macros- a great help. Obviously there are other ways that might be even more efficient to accomplish what I had asked for, but for now, this works out well for me; that’s copying code directly from a Word document to IDLE.
I tried the 1st macro and it works very well. After running the macro, all I had to do is to replace tabs with the default number of space in IDEL

Thank you all again and best of luck.

EK Esawi
Reply With Quote
  #2  
Old 02-25-2014, 04:49 PM
macropod's Avatar
macropod macropod is offline Convert indent to tabs a document converted from PDF Windows 7 32bit Convert indent to tabs a document converted from PDF Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by ekesawi View Post
After running the macro, all I had to do is to replace tabs with the default number of space in IDEL
You could eliminate that step by changing every occurrence of vbTab with "__" (i.e a pair of double quotes with two spaces [or a different number of spaces] between them). For the first macro, you could even concatenate the vbTab, vbTab & vbTab etc. sets into single strings of "__", "____" and so on.

PS: I've inserted '_' characters because the board software deletes repeated spaces.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert indent to tabs a document converted from PDF Convert word document to pdf Catty Word VBA 1 12-11-2013 03:57 PM
Words in my document were converted to numbers???? MikeD23 Word 1 08-26-2012 11:09 AM
Can you see how much time I worked on Word 2007/2010 document when converted to PDF? Papa Bear Word 1 08-14-2012 05:14 AM
My plain text post got converted to rich text in a reply, how to convert it back? david.karr Outlook 0 01-05-2012 09:46 AM
Convert indent to tabs a document converted from PDF PDF to Word(.doc) document not convert correctly gonner Word 1 09-10-2011 03:25 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft