I need to export only a range of data from Excel or LibreOffice Calc file to ascii plain text table - text file. The output should be in the format as follows :
+--------+--------------+--------+
| Name | Place | Phone |
+========+==============+========+
| JOHN | TEXAS | 123456 |
+--------+--------------+--------+
| ROBERT | INDIANAPOLIS | 234567 |
+--------+--------------+--------+
| JEANNE | CAMBODIA | 345678 |
+--------+--------------+--------+
| ANN | CANADA | 456789 |
+--------+--------------+--------+
| RICK | HAGUE | 567890 |
+--------+--------------+--------+
Is it possible using vba ? And yes, the numbers should be Right aligned.
Or like this :
+--------+--------------+--------+
| Name | Place | Phone |
+========+==============+========+
| JOHN | TEXAS | 123456 |
| ROBERT | INDIANAPOLIS | 234567 |
| JEANNE | CAMBODIA | 345678 |
| ANN | CANADA | 456789 |
| RICK | HAGUE | 567890 |
+--------+--------------+--------+