Arrow Symbols

goss

Active Member
Joined
Feb 2, 2004
Messages
372
Hi all,

Using Excel 2010.

I like the look of some of the arrow symbols in my spreadsheets as opposed to --> or -->>
Some very nice looking arrows under Wingdings 3 (Character Code 165 for example)
Insert..Symbol..Wingdings 3

However, it seems the arrows corrupt easily and I'm left with this character "¥"

Any thoughts?
Is the use of --> or -->> merely for speed?
Why can't I copy/paste these characters?
I always have to Insert..Symbol..Wingdings 3 - too time consuming.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
The yen symbol "¥" is not a corrupt arrow, it is the code 165 character for any standard font (calibri, verdana, etc). When you copy / paste, the character is translated to the destination font.
 
Upvote 0
Thanks Jason,

I hear ya'.

My hope was since I highlight the arrow after insert..symbol..arrow and then type text in calibri that I could highlight the symbol and paste into a destination cell and retain the formatting of the source cell.

Any thoughts?
 
Upvote 0
It depends what you want to copy, if you copy the actual cell (i.e.single click, ctrl c) then you copy the formats, including any mixed fonts.

If you copy the content of the cell (i.e. double click so the cursor is in the cell, then select all or part of the cell content to copy) then you are only copying the characters, so they will always translate to the destination font.

I think I might have found something, it partially works, in that it only works for the first ¥ in the cell, trying to figure out how to make it work if there is more than 1.
 
Upvote 0
Ok, I'm sure others could come up with a far better method but this (looks like it) works.

The code needs to be entered into the "ThisWorkbook" module to function.

Code:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Dim rng As Range
For Each rng In Target
    If InStr(rng, "¥") Or InStr(rng, "¦") Then
        For a = 1 To Len(rng)
            If Mid(rng, a, 1) = "¥" Or Mid(rng, a, 1) = "¦" Then
                Target.Characters(Start:=a, Length:=1).Font.Name = "Wingdings 3"
            End If
        Next
    End If
Next
End Sub
 
Last edited:
Upvote 0
Hi

Another option is to use the arrows characters from Unicode. Since excel supports Unicode you won't have problems when changing font or when copying it.

Notice that the fonts don't display the characters exactly the same (try for ex. in Arial and Calibri) but it will always be a real arrow and more practical to use.

The left arrow in the Unicode character is called "Leftwards Arrow" and has the code 2090 hex.



Notice that since you are using a Unicode character you also won't have to worry about regional settings.
 
Upvote 0
Thanks Jason and PGC,

PGC,

From Insert..Symbol..I entered the 2090 in the character code input box and chose from Unicode(hex).

The return was "a" from Superscripts and Subscripts Subset.
However, this also brought charcater 2190 "Leftwards Arrow" into view on the dialog window so was able to find the charcter needed.

Copy paste retains the character as well as the formatted font (Calibri 11pt).
Thanks for the help :-)
 
Upvote 0
From Insert..Symbol..I entered the 2090 in the character code input box and chose from Unicode(hex).

The return was "a" from Superscripts and Subscripts Subset.
However, this also brought charcater 2190 "Leftwards Arrow" into view on the dialog window so was able to find the charcter needed.

Sorry, you are right, it was a typo, it's 2190 hex.

I'm glad it's working ok now!
 
Upvote 0

Forum statistics

Threads
1,224,526
Messages
6,179,322
Members
452,906
Latest member
Belthazar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top