Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2017, 09:14 PM
vixulis vixulis is offline Convert or treat ruler indentations as white space, when pasting to another program's text editor Windows 7 64bit Convert or treat ruler indentations as white space, when pasting to another program's text editor Office 2013
Novice
Convert or treat ruler indentations as white space, when pasting to another program's text editor
 
Join Date: Nov 2017
Posts: 1
vixulis is on a distinguished road
Default Convert or treat ruler indentations as white space, when pasting to another program's text editor

I like to study programming and database query codes in microsoft word due to ability to format and color the different segments as I see fit, to better understand what's going on.




Unfortunately the problem, arises when I try to copy the code from Word to the corresponding IDE (MySQL based); which doesn't have any auto formatter built in to. The program I'm copying the microsoft word text to, can't recognize tab indentation made within Word as well.


Is there a VBA code or similar, that can treat indentations created with word's ruler tool (within green border of the picture) as individual whitespaces, so that when I copy it to the corresponding IDE, each lines have their desired indentation? Another reason I didn't use or do not prefer tab indentation, is that it doesn't work when the code/text is in a table object, as seen by the black border surrounding the code.


Image of text I'm dealing with:


What it looks like when I paste it to a SQL ide program's text editor:
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unwanted white space sassiebrat Word 2 10-03-2016 08:53 PM
Convert or treat ruler indentations as white space, when pasting to another program's text editor Pasting tables inserts unwanted white space in surrounding text velour99 Word 1 07-22-2015 11:39 AM
Convert or treat ruler indentations as white space, when pasting to another program's text editor white margin left right space Xiong Word 3 06-11-2015 11:49 AM
Closing space between document and vertical ruler ToddPr Word 6 08-28-2014 12:12 PM
Convert or treat ruler indentations as white space, when pasting to another program's text editor white space seeker62 Word 12 07-16-2013 09:54 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:59 PM.


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