效果如下:
Function pinyin(p As String) As String
i = Asc(p)
Select Case i
Case -20319 To -20318: pinyin = "a"
Case -20317 To -20305: pinyin = "ai"
Case -20304 To -20296: pinyin = "an"
Case -20295 To -20293: pinyin = "ang"
Case -20292 To -20284: pinyin = "ao"
Case -20283 To -20266: pinyin = "ba"
Case -20265 To -20258: pinyin = "bai"
Case -20257 To -20243: pinyin = "ban"
Case -20242 To -20231: pinyin = "bang"
Case -20230 To -20052: pinyin = "bao"
Case -20051 To -20037: pinyin = "bei"
Case -20036 To -20033: pinyin = "ben"
Case -20032 To -20027: pinyin = "beng"
Case -20026 To -20003: pinyin = "bi"
Case -20002 To -19991: pinyin = "bian"
Case -19990 To -19987: pinyin = "biao"
Case -19986 To -19983: pinyin = "bie"
Case -19982 To -19977: pinyin = "bin"
Case -19976 To -19806: pinyin = "bing"
Case -19805 To -19785: pinyin = "bo"
Case -19784 To -19776: pinyin = "bu"
Case -19775 To -19775: pinyin = "ca"
Case -19774 To -19764: pinyin = "cai"
Case -19763 To -19757: pinyin = "can"
Case -19756 To -19752: pinyin = "cang"
Case -19751 To -19747: pinyin = "cao"
Case -19746 To -19742: pinyin = "ce"
Case -19741 To -19740: pinyin = "ceng"
Case -19739 To -19729: pinyin = "cha"
Case -19728 To -19726: pinyin = "chai"
Case -19725 To -19716: pinyin = "chan"
Case -19715 To -19541: pinyin = "chang"
Case -19540 To -19532: pinyin = "chao"
Case -19531 To -19526: pinyin = "che"
Case -19525 To -19516: pinyin = "chen"
Case -19515 To -19501: pinyin = "cheng"
Case -19500 To -19485: pinyin = "chi"
Case -19484 To -19480: pinyin = "chong"
Case -19479 To -19468: pinyin = "chou"
Case -19467 To -19290: pinyin = "chu"
Case -19289 To -19289: pinyin = "chuai"
Case -19288 To -19282: pinyin = "chuan"
Case -19281 To -19276: pinyin = "chuang"
Case -19275 To -19271: pinyin = "chui"
Case -19270 To -19264: pinyin = "chun"
Case -19263 To -19262: pinyin = "chuo"
Case -19261 To -19250: pinyin = "ci"
Case -19249 To -19244: pinyin = "cong"
Case -19243 To -19243: pinyin = "cou"
Case -19242 To -19239: pinyin = "cu"
Case -19238 To -19236: pinyin = "cuan"
Case -19235 To -19228: pinyin = "cui"
Case -19227 To -19225: pinyin = "cun"
Case -19224 To -19219: pinyin = "cuo"
Case -19218 To -19213: pinyin = "da"
Case -19212 To -19039: pinyin = "dai"
Case -19038 To -19024: pinyin = "dan"
Case -19023 To -19019: pinyin = "dang"
Case -19018 To -19007: pinyin = "dao"
Case -19006 To -19004: pinyin = "de"
Case -19003 To -18997: pinyin = "deng"
Case -18996 To -18978: pinyin = "di"
Case -18977 To -18962: pinyin = "dian"
Case -18961 To -18953: pinyin = "diao"
Case -18952 To -18784: pinyin = "die"
Case -18783 To -18775: pinyin = "ding"
Case -18774 To -18774: pinyin = "diu"
Case -18773 To -18527: pinyin = "dong"
Case -18526 To -18519: pinyin = "fa"
Case -18518 To -18502: pinyin = "fan"
Case -18501 To -18491: pinyin = "fang"
Case -18490 To -18479: pinyin = "fei"
Case -18478 To -18464: pinyin = "fen"
Case -18463 To -18449: pinyin = "feng"
Case -18448 To -18448: pinyin = "fo"
Case -18447 To -18447: pinyin = "fou"
Case -18446 To -18240: pinyin = "fu"
Case -18239 To -18238: pinyin = "ga"
Case -18237 To -18232: pinyin = "gai"
Case -18231 To -18221: pinyin = "gan"
Case -18220 To -18212: pinyin = "gang"
Case -18211 To -18202: pinyin = "gao"
Case -18201 To -18185: pinyin = "ge"
Case -18184 To -18184: pinyin = "gei"
Case -18183 To -18182: pinyin = "gen"
Case -18181 To -18013: pinyin = "geng"
Case -18012 To -17998: pinyin = "gong"
Case -17997 To -17989: pinyin = "gou"
Case -17988 To -17971: pinyin = "gu"
Case -17970 To -17965: pinyin = "gua"
Case -17964 To -17962: pinyin = "guai"
Case -17961 To -17951: pinyin = "guan"
Case -17950 To -17948: pinyin = "guang"
Case -17947 To -17932: pinyin = "gui"
Case -17931 To -17929: pinyin = "gun"
Case -17928 To -17923: pinyin = "guo"
Case -17922 To -17760: pinyin = "ha"
Case -17759 To -17753: pinyin = "hai"
Case -17752 To -17734: pinyin = "han"
Case -17733 To -17731: pinyin = "hang"
Case -17730 To -17722: pinyin = "hao"
Case -17721 To -17704: pinyin = "he"
Case -17703 To -17702: pinyin = "hei"
Case -17701 To -17698: pinyin = "hen"
Case -17697 To -17693: pinyin = "heng"
Case -17692 To -17684: pinyin = "hong"
Case -17683 To -17677: pinyin = "hou"
Case -17676 To -17497: pinyin = "hu"
Case -17496 To -17488: pinyin = "hua"
Case -17487 To -17483: pinyin = "huai"
Case -17482 To -17469: pinyin = "huan"
Case -17468 To -17455: pinyin = "huang"
Case -17454 To -17434: pinyin = "hui"
Case -17433 To -17428: pinyin = "hun"
Case -17427 To -17418: pinyin = "huo"
Case -17417 To -17203: pinyin = "ji"
Case -17202 To -17186: pinyin = "jia"
Case -17185 To -16984: pinyin = "jian"
Case -16983 To -16971: pinyin = "jiang"
Case -16970 To -16943: pinyin = "jiao"
Case -16942 To -16916: pinyin = "jie"
Case -16915 To -16734: pinyin = "jin"
Case -16733 To -16709: pinyin = "jing"
Case -16708 To -16707: pinyin = "jiong"
Case -16706 To -16690: pinyin = "jiu"
Case -16689 To -16665: pinyin = "ju"
Case -16664 To -16658: pinyin = "juan"
Case -16657 To -16648: pinyin = "jue"
Case -16647 To -16475: pinyin = "jun"
Case -16474 To -16471: pinyin = "ka"
Case -16470 To -16466: pinyin = "kai"
Case -16465 To -16460: pinyin = "kan"
Case -16459 To -16453: pinyin = "kang"
Case -16452 To -16449: pinyin = "kao"
Case -16448 To -16434: pinyin = "ke"
Case -16433 To -16430: pinyin = "ken"
Case -16429 To -16428: pinyin = "keng"
Case -16427 To -16424: pinyin = "kong"
Case -16423 To -16420: pinyin = "kou"
Case -16419 To -16413: pinyin = "ku"
Case -16412 To -16408: pinyin = "kua"
Case -16407 To -16404: pinyin = "kuai"
Case -16403 To -16402: pinyin = "kuan"
Case -16401 To -16394: pinyin = "kuang"
Case -16393 To -16221: pinyin = "kui"
Case -16220 To -16217: pinyin = "kun"
Case -16216 To -16213: pinyin = "kuo"
Case -16212 To -16206: pinyin = "la"
Case -16205 To -16203: pinyin = "lai"
Case -16202 To -16188: pinyin = "lan"
Case -16187 To -16181: pinyin = "lang"
Case -16180 To -16172: pinyin = "lao"
Case -16171 To -16170: pinyin = "le"
Case -16169 To -16159: pinyin = "lei"
Case -16158 To -16156: pinyin = "leng"
Case -16155 To -15960: pinyin = "li"
Case -15959 To -15959: pinyin = "lia"
Case -15958 To -15945: pinyin = "lian"
Case -15944 To -15934: pinyin = "liang"
Case -15933 To -15921: pinyin = "liao"
Case -15920 To -15916: pinyin = "lie"
Case -15915 To -15904: pinyin = "lin"
Case -15903 To -15890: pinyin = "ling"
Case -15889 To -15879: pinyin = "liu"
Case -15878 To -15708: pinyin = "long"
Case -15707 To -15702: pinyin = "lou"
Case -15701 To -15682: pinyin = "lu"
Case -15681 To -15668: pinyin = "lv"
Case -15667 To -15662: pinyin = "luan"
Case -15661 To -15660: pinyin = "lue"
Case -15659 To -15653: pinyin = "lun"
Case -15652 To -15641: pinyin = "luo"
Case -15640 To -15632: pinyin = "ma"
Case -15631 To -15626: pinyin = "mai"
Case -15625 To -15455: pinyin = "man"
Case -15454 To -15449: pinyin = "mang"
Case -15448 To -15437: pinyin = "mao"
Case -15436 To -15436: pinyin = "me"
Case -15435 To -15420: pinyin = "mei"
Case -15419 To -15417: pinyin = "men"
Case -15416 To -15409: pinyin = "meng"
Case -15408 To -15395: pinyin = "mi"
Case -15394 To -15386: pinyin = "mian"
Case -15385 To -15378: pinyin = "miao"
Case -15377 To -15376: pinyin = "mie"
Case -15375 To -15370: pinyin = "min"
Case -15369 To -15364: pinyin = "ming"
Case -15363 To -15363: pinyin = "miu"
Case -15362 To -15184: pinyin = "mo"
Case -15183 To -15181: pinyin = "mou"
Case -15180 To -15166: pinyin = "mu"
Case -15165 To -15159: pinyin = "na"
Case -15158 To -15154: pinyin = "nai"
Case -15153 To -15151: pinyin = "nan"
Case -15150 To -15150: pinyin = "nang"
Case -15149 To -15145: pinyin = "nao"
Case -15144 To -15144: pinyin = "ne"
Case -15143 To -15142: pinyin = "nei"
Case -15141 To -15141: pinyin = "nen"
Case -15140 To -15140: pinyin = "neng"
Case -15139 To -15129: pinyin = "ni"
Case -15128 To -15122: pinyin = "nian"
Case -15121 To -15120: pinyin = "niang"
Case -15119 To -15118: pinyin = "niao"
Case -15117 To -15111: pinyin = "nie"
Case -15110 To -15110: pinyin = "nin"
Case -15109 To -14942: pinyin = "ning"
Case -14941 To -14938: pinyin = "niu"
Case -14937 To -14934: pinyin = "nong"
Case -14933 To -14931: pinyin = "nu"
Case -14930 To -14930: pinyin = "nv"
Case -14929 To -14929: pinyin = "nuan"
Case -14928 To -14927: pinyin = "nue"
Case -14926 To -14923: pinyin = "nuo"
Case -14922 To -14922: pinyin = "o"
Case -14921 To -14915: pinyin = "ou"
Case -14914 To -14909: pinyin = "pa"
Case -14908 To -14903: pinyin = "pai"
Case -14902 To -14895: pinyin = "pan"
Case -14894 To -14890: pinyin = "pang"
Case -14889 To -14883: pinyin = "pao"
Case -14882 To -14874: pinyin = "pei"
Case -14873 To -14872: pinyin = "pen"
Case -14871 To -14858: pinyin = "peng"
Case -14857 To -14679: pinyin = "pi"
Case -14678 To -14675: pinyin = "pian"
Case -14674 To -14671: pinyin = "piao"
Case -14670 To -14669: pinyin = "pie"
Case -14668 To -14664: pinyin = "pin"
Case -14663 To -14655: pinyin = "ping"
Case -14654 To -14646: pinyin = "po"
Case -14645 To -14631: pinyin = "pu"
Case -14630 To -14595: pinyin = "qi"
Case -14594 To -14430: pinyin = "qia"
Case -14429 To -14408: pinyin = "qian"
Case -14407 To -14400: pinyin = "qiang"
Case -14399 To -14385: pinyin = "qiao"
Case -14384 To -14380: pinyin = "qie"
Case -14379 To -14369: pinyin = "qin"
Case -14368 To -14356: pinyin = "qing"
Case -14355 To -14354: pinyin = "qiong"
Case -14353 To -14346: pinyin = "qiu"
Case -14345 To -14171: pinyin = "qu"
Case -14170 To -14160: pinyin = "quan"
Case -14159 To -14152: pinyin = "que"
Case -14151 To -14150: pinyin = "qun"
Case -14149 To -14146: pinyin = "ran"
Case -14145 To -14141: pinyin = "rang"
Case -14140 To -14138: pinyin = "rao"
Case -14137 To -14136: pinyin = "re"
Case -14135 To -14126: pinyin = "ren"
Case -14125 To -14124: pinyin = "reng"
Case -14123 To -14123: pinyin = "ri"
Case -14122 To -14113: pinyin = "rong"
Case -14112 To -14110: pinyin = "rou"
Case -14109 To -14100: pinyin = "ru"
Case -14099 To -14098: pinyin = "ruan"
Case -14097 To -14095: pinyin = "rui"
Case -14094 To -14093: pinyin = "run"
Case -14092 To -14091: pinyin = "ruo"
Case -14090 To -14088: pinyin = "sa"
Case -14087 To -14084: pinyin = "sai"
Case -14083 To -13918: pinyin = "san"
Case -13917 To -13915: pinyin = "sang"
Case -13914 To -13911: pinyin = "sao"
Case -13910 To -13908: pinyin = "se"
Case -13907 To -13907: pinyin = "sen"
Case -13906 To -13906: pinyin = "seng"
Case -13905 To -13897: pinyin = "sha"
Case -13896 To -13895: pinyin = "shai"
Case -13894 To -13879: pinyin = "shan"
Case -13878 To -13871: pinyin = "shang"
Case -13870 To -13860: pinyin = "shao"
Case -13859 To -13848: pinyin = "she"
Case -13847 To -13832: pinyin = "shen"
Case -13831 To -13659: pinyin = "sheng"
Case -13658 To -13612: pinyin = "shi"
Case -13611 To -13602: pinyin = "shou"
Case -13601 To -13407: pinyin = "shu"
Case -13406 To -13405: pinyin = "shua"
Case -13404 To -13401: pinyin = "shuai"
Case -13400 To -13399: pinyin = "shuan"
Case -13398 To -13396: pinyin = "shuang"
Case -13395 To -13392: pinyin = "shui"
Case -13391 To -13388: pinyin = "shun"
Case -13387 To -13384: pinyin = "shuo"
Case -13383 To -13368: pinyin = "si"
Case -13367 To -13360: pinyin = "song"
Case -13359 To -13357: pinyin = "sou"
Case -13356 To -13344: pinyin = "su"
Case -13343 To -13341: pinyin = "suan"
Case -13340 To -13330: pinyin = "sui"
Case -13329 To -13327: pinyin = "sun"
Case -13326 To -13319: pinyin = "suo"
Case -13318 To -13148: pinyin = "ta"
Case -13147 To -13139: pinyin = "tai"
Case -13138 To -13121: pinyin = "tan"
Case -13120 To -13108: pinyin = "tang"
Case -13107 To -13097: pinyin = "tao"
Case -13096 To -13096: pinyin = "te"
Case -13095 To -13092: pinyin = "teng"
Case -13091 To -13077: pinyin = "ti"
Case -13076 To -13069: pinyin = "tian"
Case -13068 To -13064: pinyin = "tiao"
Case -13063 To -13061: pinyin = "tie"
Case -13060 To -12889: pinyin = "ting"
Case -12888 To -12876: pinyin = "tong"
Case -12875 To -12872: pinyin = "tou"
Case -12871 To -12861: pinyin = "tu"
Case -12860 To -12859: pinyin = "tuan"
Case -12858 To -12853: pinyin = "tui"
Case -12852 To -12850: pinyin = "tun"
Case -12849 To -12839: pinyin = "tuo"
Case -12838 To -12832: pinyin = "wa"
Case -12831 To -12830: pinyin = "wai"
Case -12829 To -12813: pinyin = "wan"
Case -12812 To -12803: pinyin = "wang"
Case -12802 To -12608: pinyin = "wei"
Case -12607 To -12598: pinyin = "wen"
Case -12597 To -12595: pinyin = "weng"
Case -12594 To -12586: pinyin = "wo"
Case -12585 To -12557: pinyin = "wu"
Case -12556 To -12360: pinyin = "xi"
Case -12359 To -12347: pinyin = "xia"
Case -12346 To -12321: pinyin = "xian"
Case -12320 To -12301: pinyin = "xiang"
Case -12300 To -12121: pinyin = "xiao"
Case -12120 To -12100: pinyin = "xie"
Case -12099 To -12090: pinyin = "xin"
Case -12089 To -12075: pinyin = "xing"
Case -12074 To -12068: pinyin = "xiong"
Case -12067 To -12059: pinyin = "xiu"
Case -12058 To -12040: pinyin = "xu"
Case -12039 To -11868: pinyin = "xuan"
Case -11867 To -11862: pinyin = "xue"
Case -11861 To -11848: pinyin = "xun"
Case -11847 To -11832: pinyin = "ya"
Case -11831 To -11799: pinyin = "yan"
Case -11798 To -11782: pinyin = "yang"
Case -11781 To -11605: pinyin = "yao"
Case -11604 To -11590: pinyin = "ye"
Case -11589 To -11537: pinyin = "yi"
Case -11536 To -11359: pinyin = "yin"
Case -11358 To -11341: pinyin = "ying"
Case -11340 To -11340: pinyin = "yo"
Case -11339 To -11325: pinyin = "yong"
Case -11324 To -11304: pinyin = "you"
Case -11303 To -11098: pinyin = "yu"
Case -11097 To -11078: pinyin = "yuan"
Case -11077 To -11068: pinyin = "yue"
Case -11067 To -11056: pinyin = "yun"
Case -11055 To -11053: pinyin = "za"
Case -11052 To -11046: pinyin = "zai"
Case -11045 To -11042: pinyin = "zan"
Case -11041 To -11039: pinyin = "zang"
Case -11038 To -11025: pinyin = "zao"
Case -11024 To -11021: pinyin = "ze"
Case -11020 To -11020: pinyin = "zei"
Case -11019 To -11019: pinyin = "zen"
Case -11018 To -11015: pinyin = "zeng"
Case -11014 To -10839: pinyin = "zha"
Case -10838 To -10833: pinyin = "zhai"
Case -10832 To -10816: pinyin = "zhan"
Case -10815 To -10801: pinyin = "zhang"
Case -10800 To -10791: pinyin = "zhao"
Case -10790 To -10781: pinyin = "zhe"
Case -10780 To -10765: pinyin = "zhen"
Case -10764 To -10588: pinyin = "zheng"
Case -10587 To -10545: pinyin = "zhi"
Case -10544 To -10534: pinyin = "zhong"
Case -10533 To -10520: pinyin = "zhou"
Case -10519 To -10332: pinyin = "zhu"
Case -10331 To -10330: pinyin = "zhua"
Case -10329 To -10329: pinyin = "zhuai"
Case -10328 To -10323: pinyin = "zhuan"
Case -10322 To -10316: pinyin = "zhuang"
Case -10315 To -10310: pinyin = "zhui"
Case -10309 To -10308: pinyin = "zhun"
Case -10307 To -10297: pinyin = "zhuo"
Case -10296 To -10282: pinyin = "zi"
Case -10281 To -10275: pinyin = "zong"
Case -10274 To -10271: pinyin = "zou"
Case -10270 To -10263: pinyin = "zu"
Case -10262 To -10261: pinyin = "zuan"
Case -10260 To -10257: pinyin = "zui"
Case -10256 To -10255: pinyin = "zun"
Case -10254 To -10254: pinyin = "zuo"
Case Else: pinyin = p
End Select
End Function
Function pinyin1(p As String) As String
i = Asc(p)
Select Case i
Case -20319 To -20318: pinyin1 = "A "
Case -20317 To -20305: pinyin1 = "Ai "
Case -20304 To -20296: pinyin1 = "An "
Case -20295 To -20293: pinyin1 = "Ang "
Case -20292 To -20284: pinyin1 = "Ao "
Case -20283 To -20266: pinyin1 = "Ba "
Case -20265 To -20258: pinyin1 = "Bai "
Case -20257 To -20243: pinyin1 = "Ban "
Case -20242 To -20231: pinyin1 = "Bang "
Case -20230 To -20052: pinyin1 = "Bao "
Case -20051 To -20037: pinyin1 = "Bei "
Case -20036 To -20033: pinyin1 = "Ben "
Case -20032 To -20027: pinyin1 = "Beng "
Case -20026 To -20003: pinyin1 = "Bi "
Case -20002 To -19991: pinyin1 = "Bian "
Case -19990 To -19987: pinyin1 = "Biao "
Case -19986 To -19983: pinyin1 = "Bie "
Case -19982 To -19977: pinyin1 = "Bin "
Case -19976 To -19806: pinyin1 = "Bing "
Case -19805 To -19785: pinyin1 = "Bo "
Case -19784 To -19776: pinyin1 = "Bu "
Case -19775 To -19775: pinyin1 = "Ca "
Case -19774 To -19764: pinyin1 = "Cai "
Case -19763 To -19757: pinyin1 = "Can "
Case -19756 To -19752: pinyin1 = "Cang "
Case -19751 To -19747: pinyin1 = "Cao "
Case -19746 To -19742: pinyin1 = "Ce "
Case -19741 To -19740: pinyin1 = "Ceng "
Case -19739 To -19729: pinyin1 = "Cha "
Case -19728 To -19726: pinyin1 = "Chai "
Case -19725 To -19716: pinyin1 = "Chan "
Case -19715 To -19541: pinyin1 = "Chang "
Case -19540 To -19532: pinyin1 = "Chao "
Case -19531 To -19526: pinyin1 = "Che "
Case -19525 To -19516: pinyin1 = "Chen "
Case -19515 To -19501: pinyin1 = "Cheng "
Case -19500 To -19485: pinyin1 = "Chi "
Case -19484 To -19480: pinyin1 = "Chong "
Case -19479 To -19468: pinyin1 = "Chou "
Case -19467 To -19290: pinyin1 = "Chu "
Case -19289 To -19289: pinyin1 = "Chuai "
Case -19288 To -19282: pinyin1 = "Chuan "
Case -19281 To -19276: pinyin1 = "Chuang "
Case -19275 To -19271: pinyin1 = "Chui "
Case -19270 To -19264: pinyin1 = "Chun "
Case -19263 To -19262: pinyin1 = "Chuo "
Case -19261 To -19250: pinyin1 = "Ci "
Case -19249 To -19244: pinyin1 = "Cong "
Case -19243 To -19243: pinyin1 = "Cou "
Case -19242 To -19239: pinyin1 = "Cu "
Case -19238 To -19236: pinyin1 = "Cuan "
Case -19235 To -19228: pinyin1 = "Cui "
Case -19227 To -19225: pinyin1 = "Cun "
Case -19224 To -19219: pinyin1 = "Cuo "
Case -19218 To -19213: pinyin1 = "Da "
Case -19212 To -19039: pinyin1 = "Dai "
Case -19038 To -19024: pinyin1 = "Dan "
Case -19023 To -19019: pinyin1 = "Dang "
Case -19018 To -19007: pinyin1 = "Dao "
Case -19006 To -19004: pinyin1 = "De "
Case -19003 To -18997: pinyin1 = "Deng "
Case -18996 To -18978: pinyin1 = "Di "
Case -18977 To -18962: pinyin1 = "Dian "
Case -18961 To -18953: pinyin1 = "Diao "
Case -18952 To -18784: pinyin1 = "Die "
Case -18783 To -18775: pinyin1 = "Ding "
Case -18774 To -18774: pinyin1 = "Diu "
Case -18773 To -18527: pinyin1 = "Dong "
Case -18526 To -18519: pinyin1 = "Fa "
Case -18518 To -18502: pinyin1 = "Fan "
Case -18501 To -18491: pinyin1 = "Fang "
Case -18490 To -18479: pinyin1 = "Fei "
Case -18478 To -18464: pinyin1 = "Fen "
Case -18463 To -18449: pinyin1 = "Feng "
Case -18448 To -18448: pinyin1 = "Fo "
Case -18447 To -18447: pinyin1 = "Fou "
Case -18446 To -18240: pinyin1 = "Fu "
Case -18239 To -18238: pinyin1 = "Ga "
Case -18237 To -18232: pinyin1 = "Gai "
Case -18231 To -18221: pinyin1 = "Gan "
Case -18220 To -18212: pinyin1 = "Gang "
Case -18211 To -18202: pinyin1 = "Gao "
Case -18201 To -18185: pinyin1 = "Ge "
Case -18184 To -18184: pinyin1 = "Gei "
Case -18183 To -18182: pinyin1 = "Gen "
Case -18181 To -18013: pinyin1 = "Geng "
Case -18012 To -17998: pinyin1 = "Gong "
Case -17997 To -17989: pinyin1 = "Gou "
Case -17988 To -17971: pinyin1 = "Gu "
Case -17970 To -17965: pinyin1 = "Gua "
Case -17964 To -17962: pinyin1 = "Guai "
Case -17961 To -17951: pinyin1 = "Guan "
Case -17950 To -17948: pinyin1 = "Guang "
Case -17947 To -17932: pinyin1 = "Gui "
Case -17931 To -17929: pinyin1 = "Gun "
Case -17928 To -17923: pinyin1 = "Guo "
Case -17922 To -17760: pinyin1 = "Ha "
Case -17759 To -17753: pinyin1 = "Hai "
Case -17752 To -17734: pinyin1 = "Han "
Case -17733 To -17731: pinyin1 = "Hang "
Case -17730 To -17722: pinyin1 = "Hao "
Case -17721 To -17704: pinyin1 = "He "
Case -17703 To -17702: pinyin1 = "Hei "
Case -17701 To -17698: pinyin1 = "Hen "
Case -17697 To -17693: pinyin1 = "Heng "
Case -17692 To -17684: pinyin1 = "Hong "
Case -17683 To -17677: pinyin1 = "Hou "
Case -17676 To -17497: pinyin1 = "Hu "
Case -17496 To -17488: pinyin1 = "Hua "
Case -17487 To -17483: pinyin1 = "Huai "
Case -17482 To -17469: pinyin1 = "Huan "
Case -17468 To -17455: pinyin1 = "Huang "
Case -17454 To -17434: pinyin1 = "Hui "
Case -17433 To -17428: pinyin1 = "Hun "
Case -17427 To -17418: pinyin1 = "Huo "
Case -17417 To -17203: pinyin1 = "Ji "
Case -17202 To -17186: pinyin1 = "Jia "
Case -17185 To -16984: pinyin1 = "Jian "
Case -16983 To -16971: pinyin1 = "Jiang "
Case -16970 To -16943: pinyin1 = "Jiao "
Case -16942 To -16916: pinyin1 = "Jie "
Case -16915 To -16734: pinyin1 = "Jin "
Case -16733 To -16709: pinyin1 = "Jing "
Case -16708 To -16707: pinyin1 = "Jiong "
Case -16706 To -16690: pinyin1 = "Jiu "
Case -16689 To -16665: pinyin1 = "Ju "
Case -16664 To -16658: pinyin1 = "Juan "
Case -16657 To -16648: pinyin1 = "Jue "
Case -16647 To -16475: pinyin1 = "Jun "
Case -16474 To -16471: pinyin1 = "Ka "
Case -16470 To -16466: pinyin1 = "Kai "
Case -16465 To -16460: pinyin1 = "Kan "
Case -16459 To -16453: pinyin1 = "Kang "
Case -16452 To -16449: pinyin1 = "Kao "
Case -16448 To -16434: pinyin1 = "Ke "
Case -16433 To -16430: pinyin1 = "Ken "
Case -16429 To -16428: pinyin1 = "Keng "
Case -16427 To -16424: pinyin1 = "Kong "
Case -16423 To -16420: pinyin1 = "Kou "
Case -16419 To -16413: pinyin1 = "Ku "
Case -16412 To -16408: pinyin1 = "Kua "
Case -16407 To -16404: pinyin1 = "Kuai "
Case -16403 To -16402: pinyin1 = "Kuan "
Case -16401 To -16394: pinyin1 = "Kuang "
Case -16393 To -16221: pinyin1 = "Kui "
Case -16220 To -16217: pinyin1 = "Kun "
Case -16216 To -16213: pinyin1 = "Kuo "
Case -16212 To -16206: pinyin1 = "La "
Case -16205 To -16203: pinyin1 = "Lai "
Case -16202 To -16188: pinyin1 = "Lan "
Case -16187 To -16181: pinyin1 = "Lang "
Case -16180 To -16172: pinyin1 = "Lao "
Case -16171 To -16170: pinyin1 = "Le "
Case -16169 To -16159: pinyin1 = "Lei "
Case -16158 To -16156: pinyin1 = "Leng "
Case -16155 To -15960: pinyin1 = "Li "
Case -15959 To -15959: pinyin1 = "Lia "
Case -15958 To -15945: pinyin1 = "Lian "
Case -15944 To -15934: pinyin1 = "Liang "
Case -15933 To -15921: pinyin1 = "Liao "
Case -15920 To -15916: pinyin1 = "Lie "
Case -15915 To -15904: pinyin1 = "Lin "
Case -15903 To -15890: pinyin1 = "Ling "
Case -15889 To -15879: pinyin1 = "Liu "
Case -15878 To -15708: pinyin1 = "Long "
Case -15707 To -15702: pinyin1 = "Lou "
Case -15701 To -15682: pinyin1 = "Lu "
Case -15681 To -15668: pinyin1 = "Lv "
Case -15667 To -15662: pinyin1 = "Luan "
Case -15661 To -15660: pinyin1 = "Lue "
Case -15659 To -15653: pinyin1 = "Lun "
Case -15652 To -15641: pinyin1 = "Luo "
Case -15640 To -15632: pinyin1 = "Ma "
Case -15631 To -15626: pinyin1 = "Mai "
Case -15625 To -15455: pinyin1 = "Man "
Case -15454 To -15449: pinyin1 = "Mang "
Case -15448 To -15437: pinyin1 = "Mao "
Case -15436 To -15436: pinyin1 = "Me "
Case -15435 To -15420: pinyin1 = "Mei "
Case -15419 To -15417: pinyin1 = "Men "
Case -15416 To -15409: pinyin1 = "Meng "
Case -15408 To -15395: pinyin1 = "Mi "
Case -15394 To -15386: pinyin1 = "Mian "
Case -15385 To -15378: pinyin1 = "Miao "
Case -15377 To -15376: pinyin1 = "Mie "
Case -15375 To -15370: pinyin1 = "Min "
Case -15369 To -15364: pinyin1 = "Ming "
Case -15363 To -15363: pinyin1 = "Miu "
Case -15362 To -15184: pinyin1 = "Mo "
Case -15183 To -15181: pinyin1 = "Mou "
Case -15180 To -15166: pinyin1 = "Mu "
Case -15165 To -15159: pinyin1 = "Na "
Case -15158 To -15154: pinyin1 = "Nai "
Case -15153 To -15151: pinyin1 = "Nan "
Case -15150 To -15150: pinyin1 = "Nang "
Case -15149 To -15145: pinyin1 = "Nao "
Case -15144 To -15144: pinyin1 = "Ne "
Case -15143 To -15142: pinyin1 = "Nei "
Case -15141 To -15141: pinyin1 = "Nen "
Case -15140 To -15140: pinyin1 = "Neng "
Case -15139 To -15129: pinyin1 = "Ni "
Case -15128 To -15122: pinyin1 = "Nian "
Case -15121 To -15120: pinyin1 = "Niang "
Case -15119 To -15118: pinyin1 = "Niao "
Case -15117 To -15111: pinyin1 = "Nie "
Case -15110 To -15110: pinyin1 = "Nin "
Case -15109 To -14942: pinyin1 = "Ning "
Case -14941 To -14938: pinyin1 = "Niu "
Case -14937 To -14934: pinyin1 = "Nong "
Case -14933 To -14931: pinyin1 = "Nu "
Case -14930 To -14930: pinyin1 = "Nv "
Case -14929 To -14929: pinyin1 = "Nuan "
Case -14928 To -14927: pinyin1 = "Nue "
Case -14926 To -14923: pinyin1 = "Nuo "
Case -14922 To -14922: pinyin1 = "O "
Case -14921 To -14915: pinyin1 = "Ou "
Case -14914 To -14909: pinyin1 = "Pa "
Case -14908 To -14903: pinyin1 = "Pai "
Case -14902 To -14895: pinyin1 = "Pan "
Case -14894 To -14890: pinyin1 = "Pang "
Case -14889 To -14883: pinyin1 = "Pao "
Case -14882 To -14874: pinyin1 = "Pei "
Case -14873 To -14872: pinyin1 = "Pen "
Case -14871 To -14858: pinyin1 = "Peng "
Case -14857 To -14679: pinyin1 = "Pi "
Case -14678 To -14675: pinyin1 = "Pian "
Case -14674 To -14671: pinyin1 = "Piao "
Case -14670 To -14669: pinyin1 = "Pie "
Case -14668 To -14664: pinyin1 = "Pin "
Case -14663 To -14655: pinyin1 = "Ping "
Case -14654 To -14646: pinyin1 = "Po "
Case -14645 To -14631: pinyin1 = "Pu "
Case -14630 To -14595: pinyin1 = "Qi "
Case -14594 To -14430: pinyin1 = "Qia "
Case -14429 To -14408: pinyin1 = "Qian "
Case -14407 To -14400: pinyin1 = "Qiang "
Case -14399 To -14385: pinyin1 = "Qiao "
Case -14384 To -14380: pinyin1 = "Qie "
Case -14379 To -14369: pinyin1 = "Qin "
Case -14368 To -14356: pinyin1 = "Qing "
Case -14355 To -14354: pinyin1 = "Qiong "
Case -14353 To -14346: pinyin1 = "Qiu "
Case -14345 To -14171: pinyin1 = "Qu "
Case -14170 To -14160: pinyin1 = "Quan "
Case -14159 To -14152: pinyin1 = "Que "
Case -14151 To -14150: pinyin1 = "Qun "
Case -14149 To -14146: pinyin1 = "Ran "
Case -14145 To -14141: pinyin1 = "Rang "
Case -14140 To -14138: pinyin1 = "Rao "
Case -14137 To -14136: pinyin1 = "Re "
Case -14135 To -14126: pinyin1 = "Ren "
Case -14125 To -14124: pinyin1 = "Reng "
Case -14123 To -14123: pinyin1 = "Ri "
Case -14122 To -14113: pinyin1 = "Rong "
Case -14112 To -14110: pinyin1 = "Rou "
Case -14109 To -14100: pinyin1 = "Ru "
Case -14099 To -14098: pinyin1 = "Ruan "
Case -14097 To -14095: pinyin1 = "Rui "
Case -14094 To -14093: pinyin1 = "Run "
Case -14092 To -14091: pinyin1 = "Ruo "
Case -14090 To -14088: pinyin1 = "Sa "
Case -14087 To -14084: pinyin1 = "Sai "
Case -14083 To -13918: pinyin1 = "San "
Case -13917 To -13915: pinyin1 = "Sang "
Case -13914 To -13911: pinyin1 = "Sao "
Case -13910 To -13908: pinyin1 = "Se "
Case -13907 To -13907: pinyin1 = "Sen "
Case -13906 To -13906: pinyin1 = "Seng "
Case -13905 To -13897: pinyin1 = "Sha "
Case -13896 To -13895: pinyin1 = "Shai "
Case -13894 To -13879: pinyin1 = "Shan "
Case -13878 To -13871: pinyin1 = "Shang "
Case -13870 To -13860: pinyin1 = "Shao "
Case -13859 To -13848: pinyin1 = "She "
Case -13847 To -13832: pinyin1 = "Shen "
Case -13831 To -13659: pinyin1 = "Sheng "
Case -13658 To -13612: pinyin1 = "Shi "
Case -13611 To -13602: pinyin1 = "Shou "
Case -13601 To -13407: pinyin1 = "Shu "
Case -13406 To -13405: pinyin1 = "Shua "
Case -13404 To -13401: pinyin1 = "Shuai "
Case -13400 To -13399: pinyin1 = "Shuan "
Case -13398 To -13396: pinyin1 = "Shuang "
Case -13395 To -13392: pinyin1 = "Shui "
Case -13391 To -13388: pinyin1 = "Shun "
Case -13387 To -13384: pinyin1 = "Shuo "
Case -13383 To -13368: pinyin1 = "Si "
Case -13367 To -13360: pinyin1 = "Song "
Case -13359 To -13357: pinyin1 = "Sou "
Case -13356 To -13344: pinyin1 = "Su "
Case -13343 To -13341: pinyin1 = "Suan "
Case -13340 To -13330: pinyin1 = "Sui "
Case -13329 To -13327: pinyin1 = "Sun "
Case -13326 To -13319: pinyin1 = "Suo "
Case -13318 To -13148: pinyin1 = "Ta "
Case -13147 To -13139: pinyin1 = "Tai "
Case -13138 To -13121: pinyin1 = "Tan "
Case -13120 To -13108: pinyin1 = "Tang "
Case -13107 To -13097: pinyin1 = "Tao "
Case -13096 To -13096: pinyin1 = "Te "
Case -13095 To -13092: pinyin1 = "Teng "
Case -13091 To -13077: pinyin1 = "Ti "
Case -13076 To -13069: pinyin1 = "Tian "
Case -13068 To -13064: pinyin1 = "Tiao "
Case -13063 To -13061: pinyin1 = "Tie "
Case -13060 To -12889: pinyin1 = "Ting "
Case -12888 To -12876: pinyin1 = "Tong "
Case -12875 To -12872: pinyin1 = "Tou "
Case -12871 To -12861: pinyin1 = "Tu "
Case -12860 To -12859: pinyin1 = "Tuan "
Case -12858 To -12853: pinyin1 = "Tui "
Case -12852 To -12850: pinyin1 = "Tun "
Case -12849 To -12839: pinyin1 = "Tuo "
Case -12838 To -12832: pinyin1 = "Wa "
Case -12831 To -12830: pinyin1 = "Wai "
Case -12829 To -12813: pinyin1 = "Wan "
Case -12812 To -12803: pinyin1 = "Wang "
Case -12802 To -12608: pinyin1 = "Wei "
Case -12607 To -12598: pinyin1 = "Wen "
Case -12597 To -12595: pinyin1 = "Weng "
Case -12594 To -12586: pinyin1 = "Wo "
Case -12585 To -12557: pinyin1 = "Wu "
Case -12556 To -12360: pinyin1 = "Xi "
Case -12359 To -12347: pinyin1 = "Xia "
Case -12346 To -12321: pinyin1 = "Xian "
Case -12320 To -12301: pinyin1 = "Xiang "
Case -12300 To -12121: pinyin1 = "Xiao "
Case -12120 To -12100: pinyin1 = "Xie "
Case -12099 To -12090: pinyin1 = "Xin "
Case -12089 To -12075: pinyin1 = "Xing "
Case -12074 To -12068: pinyin1 = "Xiong "
Case -12067 To -12059: pinyin1 = "Xiu "
Case -12058 To -12040: pinyin1 = "Xu "
Case -12039 To -11868: pinyin1 = "Xuan "
Case -11867 To -11862: pinyin1 = "Xue "
Case -11861 To -11848: pinyin1 = "Xun "
Case -11847 To -11832: pinyin1 = "Ya "
Case -11831 To -11799: pinyin1 = "Yan "
Case -11798 To -11782: pinyin1 = "Yang "
Case -11781 To -11605: pinyin1 = "Yao "
Case -11604 To -11590: pinyin1 = "Ye "
Case -11589 To -11537: pinyin1 = "Yi "
Case -11536 To -11359: pinyin1 = "Yin "
Case -11358 To -11341: pinyin1 = "Ying "
Case -11340 To -11340: pinyin1 = "Yo "
Case -11339 To -11325: pinyin1 = "Yong "
Case -11324 To -11304: pinyin1 = "You "
Case -11303 To -11098: pinyin1 = "Yu "
Case -11097 To -11078: pinyin1 = "Yuan "
Case -11077 To -11068: pinyin1 = "Yue "
Case -11067 To -11056: pinyin1 = "Yun "
Case -11055 To -11053: pinyin1 = "Za "
Case -11052 To -11046: pinyin1 = "Zai "
Case -11045 To -11042: pinyin1 = "Zan "
Case -11041 To -11039: pinyin1 = "Zang "
Case -11038 To -11025: pinyin1 = "Zao "
Case -11024 To -11021: pinyin1 = "Ze "
Case -11020 To -11020: pinyin1 = "Zei "
Case -11019 To -11019: pinyin1 = "Zen "
Case -11018 To -11015: pinyin1 = "Zeng "
Case -11014 To -10839: pinyin1 = "Zha "
Case -10838 To -10833: pinyin1 = "Zhai "
Case -10832 To -10816: pinyin1 = "Zhan "
Case -10815 To -10801: pinyin1 = "Zhang "
Case -10800 To -10791: pinyin1 = "Zhao "
Case -10790 To -10781: pinyin1 = "Zhe "
Case -10780 To -10765: pinyin1 = "Zhen "
Case -10764 To -10588: pinyin1 = "Zheng "
Case -10587 To -10545: pinyin1 = "Zhi "
Case -10544 To -10534: pinyin1 = "Zhong "
Case -10533 To -10520: pinyin1 = "Zhou "
Case -10519 To -10332: pinyin1 = "Zhu "
Case -10331 To -10330: pinyin1 = "Zhua "
Case -10329 To -10329: pinyin1 = "Zhuai "
Case -10328 To -10323: pinyin1 = "Zhuan "
Case -10322 To -10316: pinyin1 = "Zhuang "
Case -10315 To -10310: pinyin1 = "Zhui "
Case -10309 To -10308: pinyin1 = "Zhun "
Case -10307 To -10297: pinyin1 = "Zhuo "
Case -10296 To -10282: pinyin1 = "Zi "
Case -10281 To -10275: pinyin1 = "Zong "
Case -10274 To -10271: pinyin1 = "Zou "
Case -10270 To -10263: pinyin1 = "Zu "
Case -10262 To -10261: pinyin1 = "Zuan "
Case -10260 To -10257: pinyin1 = "Zui "
Case -10256 To -10255: pinyin1 = "Zun "
Case -10254 To -10254: pinyin1 = "Zuo "
Case Else: pinyin1 = p
End Select
End Function
Function pinyin2(p As String) As String
i = Asc(p)
Select Case i
Case -20319 To -20318: pinyin2 = "A"
Case -20317 To -20305: pinyin2 = "Ai"
Case -20304 To -20296: pinyin2 = "An"
Case -20295 To -20293: pinyin2 = "Ang"
Case -20292 To -20284: pinyin2 = "Ao"
Case -20283 To -20266: pinyin2 = "Ba"
Case -20265 To -20258: pinyin2 = "Bai"
Case -20257 To -20243: pinyin2 = "Ban"
Case -20242 To -20231: pinyin2 = "Bang"
Case -20230 To -20052: pinyin2 = "Bao"
Case -20051 To -20037: pinyin2 = "Bei"
Case -20036 To -20033: pinyin2 = "Ben"
Case -20032 To -20027: pinyin2 = "Beng"
Case -20026 To -20003: pinyin2 = "Bi"
Case -20002 To -19991: pinyin2 = "Bian"
Case -19990 To -19987: pinyin2 = "Biao"
Case -19986 To -19983: pinyin2 = "Bie"
Case -19982 To -19977: pinyin2 = "Bin"
Case -19976 To -19806: pinyin2 = "Bing"
Case -19805 To -19785: pinyin2 = "Bo"
Case -19784 To -19776: pinyin2 = "Bu"
Case -19775 To -19775: pinyin2 = "Ca"
Case -19774 To -19764: pinyin2 = "Cai"
Case -19763 To -19757: pinyin2 = "Can"
Case -19756 To -19752: pinyin2 = "Cang"
Case -19751 To -19747: pinyin2 = "Cao"
Case -19746 To -19742: pinyin2 = "Ce"
Case -19741 To -19740: pinyin2 = "Ceng"
Case -19739 To -19729: pinyin2 = "Cha"
Case -19728 To -19726: pinyin2 = "Chai"
Case -19725 To -19716: pinyin2 = "Chan"
Case -19715 To -19541: pinyin2 = "Chang"
Case -19540 To -19532: pinyin2 = "Chao"
Case -19531 To -19526: pinyin2 = "Che"
Case -19525 To -19516: pinyin2 = "Chen"
Case -19515 To -19501: pinyin2 = "Cheng"
Case -19500 To -19485: pinyin2 = "Chi"
Case -19484 To -19480: pinyin2 = "Chong"
Case -19479 To -19468: pinyin2 = "Chou"
Case -19467 To -19290: pinyin2 = "Chu"
Case -19289 To -19289: pinyin2 = "Chuai"
Case -19288 To -19282: pinyin2 = "Chuan"
Case -19281 To -19276: pinyin2 = "Chuang"
Case -19275 To -19271: pinyin2 = "Chui"
Case -19270 To -19264: pinyin2 = "Chun"
Case -19263 To -19262: pinyin2 = "Chuo"
Case -19261 To -19250: pinyin2 = "Ci"
Case -19249 To -19244: pinyin2 = "Cong"
Case -19243 To -19243: pinyin2 = "Cou"
Case -19242 To -19239: pinyin2 = "Cu"
Case -19238 To -19236: pinyin2 = "Cuan"
Case -19235 To -19228: pinyin2 = "Cui"
Case -19227 To -19225: pinyin2 = "Cun"
Case -19224 To -19219: pinyin2 = "Cuo"
Case -19218 To -19213: pinyin2 = "Da"
Case -19212 To -19039: pinyin2 = "Dai"
Case -19038 To -19024: pinyin2 = "Dan"
Case -19023 To -19019: pinyin2 = "Dang"
Case -19018 To -19007: pinyin2 = "Dao"
Case -19006 To -19004: pinyin2 = "De"
Case -19003 To -18997: pinyin2 = "Deng"
Case -18996 To -18978: pinyin2 = "Di"
Case -18977 To -18962: pinyin2 = "Dian"
Case -18961 To -18953: pinyin2 = "Diao"
Case -18952 To -18784: pinyin2 = "Die"
Case -18783 To -18775: pinyin2 = "Ding"
Case -18774 To -18774: pinyin2 = "Diu"
Case -18773 To -18527: pinyin2 = "Dong"
Case -18526 To -18519: pinyin2 = "Fa"
Case -18518 To -18502: pinyin2 = "Fan"
Case -18501 To -18491: pinyin2 = "Fang"
Case -18490 To -18479: pinyin2 = "Fei"
Case -18478 To -18464: pinyin2 = "Fen"
Case -18463 To -18449: pinyin2 = "Feng"
Case -18448 To -18448: pinyin2 = "Fo"
Case -18447 To -18447: pinyin2 = "Fou"
Case -18446 To -18240: pinyin2 = "Fu"
Case -18239 To -18238: pinyin2 = "Ga"
Case -18237 To -18232: pinyin2 = "Gai"
Case -18231 To -18221: pinyin2 = "Gan"
Case -18220 To -18212: pinyin2 = "Gang"
Case -18211 To -18202: pinyin2 = "Gao"
Case -18201 To -18185: pinyin2 = "Ge"
Case -18184 To -18184: pinyin2 = "Gei"
Case -18183 To -18182: pinyin2 = "Gen"
Case -18181 To -18013: pinyin2 = "Geng"
Case -18012 To -17998: pinyin2 = "Gong"
Case -17997 To -17989: pinyin2 = "Gou"
Case -17988 To -17971: pinyin2 = "Gu"
Case -17970 To -17965: pinyin2 = "Gua"
Case -17964 To -17962: pinyin2 = "Guai"
Case -17961 To -17951: pinyin2 = "Guan"
Case -17950 To -17948: pinyin2 = "Guang"
Case -17947 To -17932: pinyin2 = "Gui"
Case -17931 To -17929: pinyin2 = "Gun"
Case -17928 To -17923: pinyin2 = "Guo"
Case -17922 To -17760: pinyin2 = "Ha"
Case -17759 To -17753: pinyin2 = "Hai"
Case -17752 To -17734: pinyin2 = "Han"
Case -17733 To -17731: pinyin2 = "Hang"
Case -17730 To -17722: pinyin2 = "Hao"
Case -17721 To -17704: pinyin2 = "He"
Case -17703 To -17702: pinyin2 = "Hei"
Case -17701 To -17698: pinyin2 = "Hen"
Case -17697 To -17693: pinyin2 = "Heng"
Case -17692 To -17684: pinyin2 = "Hong"
Case -17683 To -17677: pinyin2 = "Hou"
Case -17676 To -17497: pinyin2 = "Hu"
Case -17496 To -17488: pinyin2 = "Hua"
Case -17487 To -17483: pinyin2 = "Huai"
Case -17482 To -17469: pinyin2 = "Huan"
Case -17468 To -17455: pinyin2 = "Huang"
Case -17454 To -17434: pinyin2 = "Hui"
Case -17433 To -17428: pinyin2 = "Hun"
Case -17427 To -17418: pinyin2 = "Huo"
Case -17417 To -17203: pinyin2 = "Ji"
Case -17202 To -17186: pinyin2 = "Jia"
Case -17185 To -16984: pinyin2 = "Jian"
Case -16983 To -16971: pinyin2 = "Jiang"
Case -16970 To -16943: pinyin2 = "Jiao"
Case -16942 To -16916: pinyin2 = "Jie"
Case -16915 To -16734: pinyin2 = "Jin"
Case -16733 To -16709: pinyin2 = "Jing"
Case -16708 To -16707: pinyin2 = "Jiong"
Case -16706 To -16690: pinyin2 = "Jiu"
Case -16689 To -16665: pinyin2 = "Ju"
Case -16664 To -16658: pinyin2 = "Juan"
Case -16657 To -16648: pinyin2 = "Jue"
Case -16647 To -16475: pinyin2 = "Jun"
Case -16474 To -16471: pinyin2 = "Ka"
Case -16470 To -16466: pinyin2 = "Kai"
Case -16465 To -16460: pinyin2 = "Kan"
Case -16459 To -16453: pinyin2 = "Kang"
Case -16452 To -16449: pinyin2 = "Kao"
Case -16448 To -16434: pinyin2 = "Ke"
Case -16433 To -16430: pinyin2 = "Ken"
Case -16429 To -16428: pinyin2 = "Keng"
Case -16427 To -16424: pinyin2 = "Kong"
Case -16423 To -16420: pinyin2 = "Kou"
Case -16419 To -16413: pinyin2 = "Ku"
Case -16412 To -16408: pinyin2 = "Kua"
Case -16407 To -16404: pinyin2 = "Kuai"
Case -16403 To -16402: pinyin2 = "Kuan"
Case -16401 To -16394: pinyin2 = "Kuang"
Case -16393 To -16221: pinyin2 = "Kui"
Case -16220 To -16217: pinyin2 = "Kun"
Case -16216 To -16213: pinyin2 = "Kuo"
Case -16212 To -16206: pinyin2 = "La"
Case -16205 To -16203: pinyin2 = "Lai"
Case -16202 To -16188: pinyin2 = "Lan"
Case -16187 To -16181: pinyin2 = "Lang"
Case -16180 To -16172: pinyin2 = "Lao"
Case -16171 To -16170: pinyin2 = "Le"
Case -16169 To -16159: pinyin2 = "Lei"
Case -16158 To -16156: pinyin2 = "Leng"
Case -16155 To -15960: pinyin2 = "Li"
Case -15959 To -15959: pinyin2 = "Lia"
Case -15958 To -15945: pinyin2 = "Lian"
Case -15944 To -15934: pinyin2 = "Liang"
Case -15933 To -15921: pinyin2 = "Liao"
Case -15920 To -15916: pinyin2 = "Lie"
Case -15915 To -15904: pinyin2 = "Lin"
Case -15903 To -15890: pinyin2 = "Ling"
Case -15889 To -15879: pinyin2 = "Liu"
Case -15878 To -15708: pinyin2 = "Long"
Case -15707 To -15702: pinyin2 = "Lou"
Case -15701 To -15682: pinyin2 = "Lu"
Case -15681 To -15668: pinyin2 = "Lv"
Case -15667 To -15662: pinyin2 = "Luan"
Case -15661 To -15660: pinyin2 = "Lue"
Case -15659 To -15653: pinyin2 = "Lun"
Case -15652 To -15641: pinyin2 = "Luo"
Case -15640 To -15632: pinyin2 = "Ma"
Case -15631 To -15626: pinyin2 = "Mai"
Case -15625 To -15455: pinyin2 = "Man"
Case -15454 To -15449: pinyin2 = "Mang"
Case -15448 To -15437: pinyin2 = "Mao"
Case -15436 To -15436: pinyin2 = "Me"
Case -15435 To -15420: pinyin2 = "Mei"
Case -15419 To -15417: pinyin2 = "Men"
Case -15416 To -15409: pinyin2 = "Meng"
Case -15408 To -15395: pinyin2 = "Mi"
Case -15394 To -15386: pinyin2 = "Mian"
Case -15385 To -15378: pinyin2 = "Miao"
Case -15377 To -15376: pinyin2 = "Mie"
Case -15375 To -15370: pinyin2 = "Min"
Case -15369 To -15364: pinyin2 = "Ming"
Case -15363 To -15363: pinyin2 = "Miu"
Case -15362 To -15184: pinyin2 = "Mo"
Case -15183 To -15181: pinyin2 = "Mou"
Case -15180 To -15166: pinyin2 = "Mu"
Case -15165 To -15159: pinyin2 = "Na"
Case -15158 To -15154: pinyin2 = "Nai"
Case -15153 To -15151: pinyin2 = "Nan"
Case -15150 To -15150: pinyin2 = "Nang"
Case -15149 To -15145: pinyin2 = "Nao"
Case -15144 To -15144: pinyin2 = "Ne"
Case -15143 To -15142: pinyin2 = "Nei"
Case -15141 To -15141: pinyin2 = "Nen"
Case -15140 To -15140: pinyin2 = "Neng"
Case -15139 To -15129: pinyin2 = "Ni"
Case -15128 To -15122: pinyin2 = "Nian"
Case -15121 To -15120: pinyin2 = "Niang"
Case -15119 To -15118: pinyin2 = "Niao"
Case -15117 To -15111: pinyin2 = "Nie"
Case -15110 To -15110: pinyin2 = "Nin"
Case -15109 To -14942: pinyin2 = "Ning"
Case -14941 To -14938: pinyin2 = "Niu"
Case -14937 To -14934: pinyin2 = "Nong"
Case -14933 To -14931: pinyin2 = "Nu"
Case -14930 To -14930: pinyin2 = "Nv"
Case -14929 To -14929: pinyin2 = "Nuan"
Case -14928 To -14927: pinyin2 = "Nue"
Case -14926 To -14923: pinyin2 = "Nuo"
Case -14922 To -14922: pinyin2 = "O"
Case -14921 To -14915: pinyin2 = "Ou"
Case -14914 To -14909: pinyin2 = "Pa"
Case -14908 To -14903: pinyin2 = "Pai"
Case -14902 To -14895: pinyin2 = "Pan"
Case -14894 To -14890: pinyin2 = "Pang"
Case -14889 To -14883: pinyin2 = "Pao"
Case -14882 To -14874: pinyin2 = "Pei"
Case -14873 To -14872: pinyin2 = "Pen"
Case -14871 To -14858: pinyin2 = "Peng"
Case -14857 To -14679: pinyin2 = "Pi"
Case -14678 To -14675: pinyin2 = "Pian"
Case -14674 To -14671: pinyin2 = "Piao"
Case -14670 To -14669: pinyin2 = "Pie"
Case -14668 To -14664: pinyin2 = "Pin"
Case -14663 To -14655: pinyin2 = "Ping"
Case -14654 To -14646: pinyin2 = "Po"
Case -14645 To -14631: pinyin2 = "Pu"
Case -14630 To -14595: pinyin2 = "Qi"
Case -14594 To -14430: pinyin2 = "Qia"
Case -14429 To -14408: pinyin2 = "Qian"
Case -14407 To -14400: pinyin2 = "Qiang"
Case -14399 To -14385: pinyin2 = "Qiao"
Case -14384 To -14380: pinyin2 = "Qie"
Case -14379 To -14369: pinyin2 = "Qin"
Case -14368 To -14356: pinyin2 = "Qing"
Case -14355 To -14354: pinyin2 = "Qiong"
Case -14353 To -14346: pinyin2 = "Qiu"
Case -14345 To -14171: pinyin2 = "Qu"
Case -14170 To -14160: pinyin2 = "Quan"
Case -14159 To -14152: pinyin2 = "Que"
Case -14151 To -14150: pinyin2 = "Qun"
Case -14149 To -14146: pinyin2 = "Ran"
Case -14145 To -14141: pinyin2 = "Rang"
Case -14140 To -14138: pinyin2 = "Rao"
Case -14137 To -14136: pinyin2 = "Re"
Case -14135 To -14126: pinyin2 = "Ren"
Case -14125 To -14124: pinyin2 = "Reng"
Case -14123 To -14123: pinyin2 = "Ri"
Case -14122 To -14113: pinyin2 = "Rong"
Case -14112 To -14110: pinyin2 = "Rou"
Case -14109 To -14100: pinyin2 = "Ru"
Case -14099 To -14098: pinyin2 = "Ruan"
Case -14097 To -14095: pinyin2 = "Rui"
Case -14094 To -14093: pinyin2 = "Run"
Case -14092 To -14091: pinyin2 = "Ruo"
Case -14090 To -14088: pinyin2 = "Sa"
Case -14087 To -14084: pinyin2 = "Sai"
Case -14083 To -13918: pinyin2 = "San"
Case -13917 To -13915: pinyin2 = "Sang"
Case -13914 To -13911: pinyin2 = "Sao"
Case -13910 To -13908: pinyin2 = "Se"
Case -13907 To -13907: pinyin2 = "Sen"
Case -13906 To -13906: pinyin2 = "Seng"
Case -13905 To -13897: pinyin2 = "Sha"
Case -13896 To -13895: pinyin2 = "Shai"
Case -13894 To -13879: pinyin2 = "Shan"
Case -13878 To -13871: pinyin2 = "Shang"
Case -13870 To -13860: pinyin2 = "Shao"
Case -13859 To -13848: pinyin2 = "She"
Case -13847 To -13832: pinyin2 = "Shen"
Case -13831 To -13659: pinyin2 = "Sheng"
Case -13658 To -13612: pinyin2 = "Shi"
Case -13611 To -13602: pinyin2 = "Shou"
Case -13601 To -13407: pinyin2 = "Shu"
Case -13406 To -13405: pinyin2 = "Shua"
Case -13404 To -13401: pinyin2 = "Shuai"
Case -13400 To -13399: pinyin2 = "Shuan"
Case -13398 To -13396: pinyin2 = "Shuang"
Case -13395 To -13392: pinyin2 = "Shui"
Case -13391 To -13388: pinyin2 = "Shun"
Case -13387 To -13384: pinyin2 = "Shuo"
Case -13383 To -13368: pinyin2 = "Si"
Case -13367 To -13360: pinyin2 = "Song"
Case -13359 To -13357: pinyin2 = "Sou"
Case -13356 To -13344: pinyin2 = "Su"
Case -13343 To -13341: pinyin2 = "Suan"
Case -13340 To -13330: pinyin2 = "Sui"
Case -13329 To -13327: pinyin2 = "Sun"
Case -13326 To -13319: pinyin2 = "Suo"
Case -13318 To -13148: pinyin2 = "Ta"
Case -13147 To -13139: pinyin2 = "Tai"
Case -13138 To -13121: pinyin2 = "Tan"
Case -13120 To -13108: pinyin2 = "Tang"
Case -13107 To -13097: pinyin2 = "Tao"
Case -13096 To -13096: pinyin2 = "Te"
Case -13095 To -13092: pinyin2 = "Teng"
Case -13091 To -13077: pinyin2 = "Ti"
Case -13076 To -13069: pinyin2 = "Tian"
Case -13068 To -13064: pinyin2 = "Tiao"
Case -13063 To -13061: pinyin2 = "Tie"
Case -13060 To -12889: pinyin2 = "Ting"
Case -12888 To -12876: pinyin2 = "Tong"
Case -12875 To -12872: pinyin2 = "Tou"
Case -12871 To -12861: pinyin2 = "Tu"
Case -12860 To -12859: pinyin2 = "Tuan"
Case -12858 To -12853: pinyin2 = "Tui"
Case -12852 To -12850: pinyin2 = "Tun"
Case -12849 To -12839: pinyin2 = "Tuo"
Case -12838 To -12832: pinyin2 = "Wa"
Case -12831 To -12830: pinyin2 = "Wai"
Case -12829 To -12813: pinyin2 = "Wan"
Case -12812 To -12803: pinyin2 = "Wang"
Case -12802 To -12608: pinyin2 = "Wei"
Case -12607 To -12598: pinyin2 = "Wen"
Case -12597 To -12595: pinyin2 = "Weng"
Case -12594 To -12586: pinyin2 = "Wo"
Case -12585 To -12557: pinyin2 = "Wu"
Case -12556 To -12360: pinyin2 = "Xi"
Case -12359 To -12347: pinyin2 = "Xia"
Case -12346 To -12321: pinyin2 = "Xian"
Case -12320 To -12301: pinyin2 = "Xiang"
Case -12300 To -12121: pinyin2 = "Xiao"
Case -12120 To -12100: pinyin2 = "Xie"
Case -12099 To -12090: pinyin2 = "Xin"
Case -12089 To -12075: pinyin2 = "Xing"
Case -12074 To -12068: pinyin2 = "Xiong"
Case -12067 To -12059: pinyin2 = "Xiu"
Case -12058 To -12040: pinyin2 = "Xu"
Case -12039 To -11868: pinyin2 = "Xuan"
Case -11867 To -11862: pinyin2 = "Xue"
Case -11861 To -11848: pinyin2 = "Xun"
Case -11847 To -11832: pinyin2 = "Ya"
Case -11831 To -11799: pinyin2 = "Yan"
Case -11798 To -11782: pinyin2 = "Yang"
Case -11781 To -11605: pinyin2 = "Yao"
Case -11604 To -11590: pinyin2 = "Ye"
Case -11589 To -11537: pinyin2 = "Yi"
Case -11536 To -11359: pinyin2 = "Yin"
Case -11358 To -11341: pinyin2 = "Ying"
Case -11340 To -11340: pinyin2 = "Yo"
Case -11339 To -11325: pinyin2 = "Yong"
Case -11324 To -11304: pinyin2 = "You"
Case -11303 To -11098: pinyin2 = "Yu"
Case -11097 To -11078: pinyin2 = "Yuan"
Case -11077 To -11068: pinyin2 = "Yue"
Case -11067 To -11056: pinyin2 = "Yun"
Case -11055 To -11053: pinyin2 = "Za"
Case -11052 To -11046: pinyin2 = "Zai"
Case -11045 To -11042: pinyin2 = "Zan"
Case -11041 To -11039: pinyin2 = "Zang"
Case -11038 To -11025: pinyin2 = "Zao"
Case -11024 To -11021: pinyin2 = "Ze"
Case -11020 To -11020: pinyin2 = "Zei"
Case -11019 To -11019: pinyin2 = "Zen"
Case -11018 To -11015: pinyin2 = "Zeng"
Case -11014 To -10839: pinyin2 = "Zha"
Case -10838 To -10833: pinyin2 = "Zhai"
Case -10832 To -10816: pinyin2 = "Zhan"
Case -10815 To -10801: pinyin2 = "Zhang"
Case -10800 To -10791: pinyin2 = "Zhao"
Case -10790 To -10781: pinyin2 = "Zhe"
Case -10780 To -10765: pinyin2 = "Zhen"
Case -10764 To -10588: pinyin2 = "Zheng"
Case -10587 To -10545: pinyin2 = "Zhi"
Case -10544 To -10534: pinyin2 = "Zhong"
Case -10533 To -10520: pinyin2 = "Zhou"
Case -10519 To -10332: pinyin2 = "Zhu"
Case -10331 To -10330: pinyin2 = "Zhua"
Case -10329 To -10329: pinyin2 = "Zhuai"
Case -10328 To -10323: pinyin2 = "Zhuan"
Case -10322 To -10316: pinyin2 = "Zhuang"
Case -10315 To -10310: pinyin2 = "Zhui"
Case -10309 To -10308: pinyin2 = "Zhun"
Case -10307 To -10297: pinyin2 = "Zhuo"
Case -10296 To -10282: pinyin2 = "Zi"
Case -10281 To -10275: pinyin2 = "Zong"
Case -10274 To -10271: pinyin2 = "Zou"
Case -10270 To -10263: pinyin2 = "Zu"
Case -10262 To -10261: pinyin2 = "Zuan"
Case -10260 To -10257: pinyin2 = "Zui"
Case -10256 To -10255: pinyin2 = "Zun"
Case -10254 To -10254: pinyin2 = "Zuo"
Case Else: pinyin2 = p
End Select
End Function
Function getpy(str)
getpy = pinyin1(Mid(str, 1, 1))
getpy = getpy & pinyin2(Mid(str, 2, 1))
For i = 3 To Len(str)
getpy = getpy & pinyin(Mid(str, i, 1))
Next i
End Function