Hello,
Thank you for your assistance! I have a macro that applies a custom number format to selected cells. The number format works great within the workbook as:
0.00%" →";0.00%" ←"
I'd like to apply this using a macro. The VBA window won't display the "→" arrow symbols. They are displayed as "?"
I'm assuming I have to use CHAR or ChrW? What is the character code for the left and right arrows, and how do I incorporate them correctly into the .NumberFormat code?
Any help would be greatly appreciated!
Thank you for your assistance! I have a macro that applies a custom number format to selected cells. The number format works great within the workbook as:
0.00%" →";0.00%" ←"
I'd like to apply this using a macro. The VBA window won't display the "→" arrow symbols. They are displayed as "?"
I'm assuming I have to use CHAR or ChrW? What is the character code for the left and right arrows, and how do I incorporate them correctly into the .NumberFormat code?
Code:
With Selection[INDENT]
.NumberFormat = 0.00%" →";0.00%" ←"
[/INDENT]
End With
Any help would be greatly appreciated!
Last edited: