By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,400 Members | 981 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,400 IT Pros & Developers. It's quick & easy.

Help inserting symbols into text fields using vba

P: n/a
Hi,

I have a form with memo & text fields that get printed onto a report. I
would like to add buttons to my form which insert one of the following
symbols: ↑ ↓ ← → to a text or memo field when the button is
pressed.

At present I can manually insert these symbols by cutting and pasting
them from a word document. Would like to generate vba code to do this
instead.

I tried Me![text field]= Me![text field] + "↑ ↓ ←→" however,
when I try to enter the symbols into the vba editor they all change to
question marks.

Are there character codes for these symbols? Is there some other way I
can accomplish this feature?

Thanks,

George Hadley
gh********@yahoo.com

Apr 27 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
What you see depends on the Windows font you are using. If the Windows font
does not include those characters you will see the ? mark.

--

Terry Kreft
<gh********@yahoo.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
Hi,

I have a form with memo & text fields that get printed onto a report. I
would like to add buttons to my form which insert one of the following
symbols: ? ? ? ? to a text or memo field when the button is
pressed.

At present I can manually insert these symbols by cutting and pasting
them from a word document. Would like to generate vba code to do this
instead.

I tried Me![text field]= Me![text field] + "? ? ? ?" however,
when I try to enter the symbols into the vba editor they all change to
question marks.

Are there character codes for these symbols? Is there some other way I
can accomplish this feature?

Thanks,

George Hadley
gh********@yahoo.com
Apr 27 '06 #2

P: n/a
Here (windings):

http://www.devx.com/vb2themax/Tip/18347

-tom

gh********@yahoo.com ha scritto:
Hi,

I have a form with memo & text fields that get printed onto a report. I
would like to add buttons to my form which insert one of the following
symbols: ↑ ↓ ← → to a text or memo fieldwhen the button is
pressed.

At present I can manually insert these symbols by cutting and pasting
them from a word document. Would like to generate vba code to do this
instead.

I tried Me![text field]= Me![text field] + "↑ ↓ ← →" however,
when I try to enter the symbols into the vba editor they all change to
question marks.

Are there character codes for these symbols? Is there some other way I
can accomplish this feature?

Thanks,

George Hadley
gh********@yahoo.com


Apr 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.