VBA editor is not Unicode.
In order to have Unicode characters in it, you need to use ChrW$
, e.g.
Dim Rupee As String
Rupee = ChrW$(&h20A8&)
Also see Unicode string literals in VBA.
More Related Contents:
- TextJoin UDF For Excel 2013
- Remove Duplicates from range of cells in excel vba
- How to copy cells that contain certain text to another worksheet [closed]
- Loop Through All Subfolders Using VBA [duplicate]
- What is the difference between Dim, Global, Public, and Private as Modular Field Access Modifiers?
- VBA Runtime Error 1004 “Application-defined or Object-defined error” when Selecting Range
- How do I base64 encode a string efficiently using Excel VBA?
- Too few parameters Expected 1, recordset issue
- Save attachments to a folder and rename them
- Using VBA to get extended file attributes
- VBA- variable in a range, inside a formula
- How to Lock the data in a cell in excel using vba
- Outlook Reply or ReplyAll to an Email
- How do I use variables to set properties in VBA (Excel)
- Check for the senderEmailAddress
- Removing a string that includes CRLF characters from body of e-mail
- Workbooks.Open Method in VBA
- Windows().Activate works on every computer except one
- VBA: How long does On Error Resume Next work?
- VBScript to open a dialog to select a filepath
- How can I create text files with special characters in their filenames
- Open a workbook from VBA and disable Workbook_Open() code?
- Creating form programmatically in the module using vba
- Macro to update all fields in a word document
- How to filter listbox values based on a Textbox value
- How to get the procedure or function name at runtime?
- Copy an array reference in VBA
- How to get selected value in multicolumn listbox
- What does the To and Step mean in VBA?
- Query my excel worksheet with VBA