Solved

How do you represent Rightwards Arrow in VBA

Posted on 2009-04-04
3
252 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now