|
Visual Basic (VB and VBA) |
|
Copyright 1999-2001 Christopher Greaves. All rights reserved. Home Page and email to [email protected] |
| If in doubt, record a macro and inspect the entrails! |
Please read the DISCLAIMER.
Here is an INDEX to all the procedures.
You will probably need one copy of my GLOBAL DECLARATIONS.
Public Function intCharacterCode(strCH As String) As Integer
' Procedure : intCharacterCode
' Description: Return the Unicode of the character.
' Copyright: Chris Greaves Inc.
' Inputs: STRING
' Returns: INTEGER
' Assumes: Nothing
' Side Effects: The selection may change.
' Tested: By a call from the user
Dim intUniCode As Integer
intUniCode = AscW(strCH)
If intUniCode < 0 Then intUniCode = intUniCode + 65536
intCharacterCode = intUniCode
'Sub TESTintCharacterCode()
'MsgBox intCharacterCode("*")
'End Sub
End Function
| We all knew nothing when we started … |
|
Home Page and Contact Information Send email to [email protected]. This page was last updated Thursday, November 15, 2001 |