View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default Insert a symbol using VBA

How did you know that 25BA = 9658?

In the Immediate Window of VBA....

?&H25BA


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)




"RyanH" wrote in message
...
How did you know that 25BA = 9658?
--
Cheers,
Ryan


"Gary''s Student" wrote:

Argument needs decimal, not hex:

Sub dural()
ActiveCell.Value = ChrW(9658)
End Sub

--
Gary''s Student - gsnu200804


"RyanH" wrote:

Here is the symbol I am trying to insert: –º. Here is the properties of
it:
Arial, Geometric Shapes, Character Code 25BA, Unicode(hex).

When ever I use this code the line below shades red, why?

ActiveCell.Value = ChrW(25BA)

--
Cheers,
Ryan