Solved

How do you represent Rightwards Arrow in VBA

Posted on 2009-04-04
3
260 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

738 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