Solved

How do you represent Rightwards Arrow in VBA

Posted on 2009-04-04
3
257 Views
Last Modified: 2012-05-06
I'm trying to write a Macro that will search out the rightwards arrow character in Excel and remove it, but I can't figure out how to represent that character in VB Editor. How can I represent it?

0
Comment
Question by:ThePATMAN26
3 Comments
 
LVL 12

Accepted Solution

by:
sdwalker earned 500 total points
ID: 24068865
The arrows are unicode.  A large solid right arrow is unicode 25B6, while a small one is 25B8.

To refer to the arrow, use ChrW(25B6) etc.

Find out exactly which arrow you have by going here.
http://www.fileformat.info/info/unicode/char/25b8/index.htm
or here
http://unicode.org/cldr/utility/character.jsp?a=25B6

You can use AscW(n) to get the unicode of a character, where n is some character.

Good luck,

sdwalker
0
 
LVL 45

Expert Comment

by:patrickab
ID: 24068954
In the use of Onkey the right arrow is given as {RIGHT}
0
 
LVL 47

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 24069932
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

789 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