Solved

Save TXT to Word using Courier New "extended" chars

Posted on 2003-11-08
3
235 Views
Last Modified: 2010-05-03
Hi experts!

I need to save text to a Word doc from my appl. using a monospaced font (aka old MS Linedraw)
for this I have chosen Courier New, but how can I access the "extended" chars
in this font? It appears to me that these are only available from inside Word.

I need the special chars to build/draw a box (DOS-like) :  ┌ ┐┬└ ┘┴

If there is a solution to this, please add a little code-sample.

Regards
Robsoft

XP Pro - VB6/SP5 - Office 2000
0
Comment
Question by:Robsoft
  • 2
3 Comments
 
LVL 26

Expert Comment

by:EDDYKT
ID: 9706814
Use symbol?


Selection.InsertSymbol Font:="Symbol", CharacterNumber:=-3863, Unicode:= _
        True
0
 
LVL 26

Accepted Solution

by:
EDDYKT earned 500 total points
ID: 9706820
Or

Selection.InsertSymbol Font:="Courier New", CharacterNumber:=9484, Unicode _
        :=True
0
 

Author Comment

by:Robsoft
ID: 9707840
Yo! bullseye!

Thanks a million - well almost (500)  ;-)

Robsoft
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

821 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