This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rem 1) select the text lines representing a table whose columns are separated by the tab character | |
Rem 2) run this macro | |
Rem 3) result: the tab characters are replaced by two or more space characters such a way each column | |
Rem has the same number of characters | |
Rem 4) you may then copy/paste those text lines inside HTML <pre>...</pre> it will look like a table | |
Sub tabs_to_spaces() | |
Dim par As Paragraph | |
Dim pars() As Paragraph | |
Dim arr(50) As Integer ' 50 tabs maximum per line |
NewerOlder