Inserting a character in a string of text

C

charlie6067

I need to insert the code for a copyright symbol in a string of text to
that will display in a letter.

VBA: Selection.TypeText Text:="...you can download Adobe " What code do
I need to insert after the word "Adobe" so that when the template
runds, the copyright symbol (character set 169) displays in the
letter's sentence?

Many thanks
Charlie
charlie6067
 
K

Klaus Linke

Hi Charlie,

Just insert the copyright symbol:
Text := "Adobe©"

With other symbols (codes outside 32-127, 160-255) you might need something like
Text := "Adobe" & ChrW(169)

Regards,
Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top