ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ½Ð°Ý:¦p¦ó¥s¥X¯S®í¦r¶°¸Ìªº¦r?

[µo°Ý] ½Ð°Ý:¦p¦ó¥s¥X¯S®í¦r¶°¸Ìªº¦r?

¦pªG§Ú­Ì­n¥Î¨ì "8" ¥i¥H³o¼Ë¼g:
      Dim ascII_code as string
             ascII_code = chr(56)

¦pªG­n¥Î¨ì¦r¶° (windows 2) ²Ä 107 ­Ó¦r,¦p¦ó¥s¥X?

µù: (windows 2) ²Ä 107 ­Ó¦r¬O,¶ê°é¤¤¦A¼g¤@­Ó2.
V98

¦^´_ 1# linshin1999
¸Õ¸Õ:
ChrW(9312) = 1
ChrW(9313) = 2
....
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

¥»©«³Ì«á¥Ñ linshin1999 ©ó 2011-1-16 14:14 ½s¿è

¦^´_ 2# kimbal

kimbal¥S:ÁÂÁÂ,¥Îªk©Mchr()¤@¼Ë¬O¶Ü?¦ý¬O¬OUnicode²{¦b¤F¸Ñªº¬O³o¼Ë,¦p¦³°ÝÃD¦A°Ý§A,ÁÂÁÂ!!

kimbal¥S:¸Õ¹L¤F¦ý¬O¨ä­È³£¬O"?", ÁÙ¬O§Úªº¥Îªk¤£¹ï:§Ú´ú¸Õ¦p¤U:

     Dim i as integer
     Dim i_s as string

           for i = 9312 to 0322
                i_s = chrw(i)
           next i


kimba  ¥S:À³¸Ó¬O¹ïªº,¤£ª¾¹D¨º¥X¿ù¤F? (9312 = 2*16^3 + 4*16^2 + 6 *16^1 + 0 *16^0); ÁÂÁ§A!!
V98

TOP

¦bVB6¥»¨­¤£¬O«Ü¤ä´©UNICODE
¦b½s¿è¾¹·|Åܦ¨"?"

Dim i As Integer
Dim i_s As String

For i = 9312 To 9322
   i_s = i_s + ChrW(i)
Next i

9312 ¬O10¶i¨î,
&h2460¬O9312ªº16¶i¨î

chrw(&h2460) = ¶ê°é¤¤¦A¼g¤@­Ó1
chrw(&h2461) = ¶ê°é¤¤¦A¼g¤@­Ó2
chrw(&h2462) = ¶ê°é¤¤¦A¼g¤@­Ó3
....
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

¦^´_ 4# kimbal

kimbal:¥S¸Õ¤F«Ü¦h¤èªk¶]¤£¥X¨Ó,³£¬O?¸¹,¥i¯à¤£±µ¨ü§a,¤@¾ã¤Ñ³£¦A§ä¸Ñ¨M¤è®×¥i¯àµL¸Ñ,©M¤½¥q½Í½Í¬Ý,¬O¤£¬O¦h­ÓÄæ¦ì,µM«á±N¦rÅéÁY¤p,«K³q¤]³\¤]¥i¥H,ÁÂÁ§A!
V98

TOP

¦^´_ 5# linshin1999

VBA¤£±µ¨ü¡A¥u¯à¦b¤u§@ªí¤¤Åã¥Ü
Sub nn()
[A1] = ChrW(&H2461)
MsgBox [A1]
End Sub
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 6# Hsieh


    Hsiehª©¥D:¦b½×¾Â¤¤±`¬Ý¨ì [A1],§ä¤F«Ü¦h®Ñ³£§ä¤£¨ì»¡©ú,¥i§_§Q¥Î¦¹¤@¾÷·|»¡©ú¤@¤U,ÁÂÁÂ!!
V98

TOP

¦^´_ 7# linshin1999


    http://forum.twbts.com/thread-25-1-1.html
¦b¸Ó¥DÃDªþÀɤ¤²Ä15­¶¦³»¡©ú
³oÃä¥ý²­z¤@¤U
¤¤¬A¸¹ªº¨Ï¥Î¡A¬O¤@ºØ¹ïª«¥ó¥]¸Ëªº¼gªk
¤¤¬A¸¹¤¤ªº¤å¦r¤Î¬°¸Óª«¥óªº¦WºÙ¦r¦ê
»Ýª`·Nªº¬O¡A¤¤¬A¸¹¤º¤£¥i¥HÅܼƨú¥N¦WºÙ
[A1]´N¬O¸òRange("A1")¥Nªí¬Û¦P·N¸q
´N¬O¥NªíA1Àx¦s®æ
¨º»ò¡A¦bRange»PCellsªí¥Üªk¤¤¡AÄæ¦Cªº¼Æ­È¥i¥ÎÅܼƨú¥N¡A¦ý¥H¤¤¬A¸¹ªí¥Üªk®É´N¤£¯à¥ÎÅܼƤF
¨Ò¦p
c=1:r=1
set a=range("A" & r) '¦X²z
set b=cells(r,c) '¦X²z
set rng=[A1] '¦X²z
set rng=["A" & r] '³o¼Ë´N¥X¿ù
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 8# Hsieh


    ¦¬¨ì¤FÁÂÁÂ!!
V98

TOP

        ÀR«ä¦Û¦b : ÀR§¤±`®¦¤v¹L¡B¶¢½Í²ö½×¤H«D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD