下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
1、HR 人士要掌握的 EXCEL 漢字轉(zhuǎn)拼音方法及步驟HR 人士在工作中管理員工的數(shù)據(jù),如果是在歐美外企,因為國外總部通常會需 要將漢字員工的信息轉(zhuǎn)換成拼音, 將這些信息錄入存儲在人事系統(tǒng)中, 或者以人 事報表形式將拼音信息匯報給總部。因為員工數(shù)據(jù)通常會用 EXCEL 統(tǒng)計,掌握 EXCEL 漢字轉(zhuǎn)拼音,會大大提高辦公效率。最常用的操作是員工姓名,家屬姓名漢字轉(zhuǎn)拼音等。下面以名字的轉(zhuǎn)換為例子, 介紹EXCEL 中漢字轉(zhuǎn)拼音方法的兩個主要步驟:* 在 EXCEL 中設定漢字轉(zhuǎn)拼音的自定義函數(shù) = Pinyin().* 通過 EXCEL 中自帶函數(shù) 與 自己設定的漢字轉(zhuǎn)拼音自定義函數(shù)組合,將目標 漢
2、字轉(zhuǎn)換成拼音,再復制粘貼保存到合適位置。Excel 中設定自定義函數(shù) = Pinyin(). 的步驟:1. 新建一個新的 Excel 文件,打開顯示出工作表;2. 按“Alt+F11 ”組合鍵,進入 Visual Basic 編輯狀態(tài);3. 再按“ F7 ”鍵,進入模塊代碼編輯狀態(tài);4. 將下面的代碼,復制粘貼到模塊代碼編輯中;Function PinYin(Hz As String)Dim PinMa As StringDim MyPinMa As VariantDim Temp As Integer, i As Integer, j As IntegerPinMa = a,20319,ai
3、,20317,an,20304,ang,20295,ao,20292,PinMa = PinMa &ba,20283,bai,20265,ban,20257,bang,20242,bao,20230,bei,20051,ben,20036,beng,20032,bi,20026,bian,20002,biao,19990,bie,19986,bin,19982,bing,19976,bo,19805,bu,19784,PinMa = PinMa &ca,19775,cai,19774,can,19763,cang,19756,cao,19751,ce,19746,ceng,19
4、741,cha,19739,chai,19728,chan,19725,chang,19715,chao,19540,che,19531,chen,19525,cheng,19515,chi,19500,chong,19484,chou,19479,chu,19467,chuai,19289,chuan,19288,chuang,19281,chui,19275,chun,19270,chuo,19263,ci,19261,cong,19249,cou,19243,cu,19242,cuan,19238,cui,19235,cun,19227,cuo,19224,PinMa = PinMa &
5、amp;da,19218,dai,19212,dan,19038,dang,19023,dao,19018,de,19006,deng,19003,di,18996,dian,18977,diao,18961,die,18952,ding,18783,diu,18774,dong,18773,dou,18763,du,18756,duan,18741,dui,18735,dun,18731,duo,18722,PinMa = PinMa & e,18710,en,18697,er,18696,PinMa = PinMa &fa,18526,fan,18518,fang,1850
6、1,fei,18490,fen,18478,feng,18463,fo,18448,fou,18447,fu,18446,PinMa = PinMa &ga,18239,gai,18237,gan,18231,gang,18220,gao,18211,ge,18201,gei,18184,gen,18183,geng,18181,gong,18012,gou,17997,gu,17988,gua,17970,guai,17964,guan,17961,guang,17950,gui,17947,gun,17931,guo,17928,PinMa=PinMa&ha,17922,h
7、ai,17759,han,17752,hang,17733,hao,17730,he,17721,hei,17703,hen,17701,heng,17697,hong,17692,hou,17683,hu,17676,hua,17496,huai,17487,huan,17482,huang,17468,hui,17454,hun,17433,huo,17427,PinMa=PinMa&ji,17417,jia,17202,jian,17185,jiang,16983,jiao,16970,jie,16942,jin,16915,jing,16733,jiong,16708,jiu,
8、16706,ju,16689,juan,16664,jue,16657,jun,16647,PinMa = PinMa &ka,16474,kai,16470,kan,16465,kang,16459,kao,16452,ke,16448,ken,16433,keng,16429,kong,16427,kou,16423,ku,16419,kua,16412,kuai,16407,kuan,16403,kuang,16401,kui,16393,kun,16220,kuo,16216,PinMa=PinMa&la,16212,lai,16205,lan,16202,lang,1
9、6187,lao,16180,le,16171,lei,16169,leng,16158,li,16155,lia,15959,lian,15958,liang,15944,liao,15933,lie,15920,lin,15915,ling,15903,liu,15889,long,15878,lou,15707,lu,15701,lv,15681,luan,15667,lue,15661,lun,15659,luo,15652,PinMa=PinMa&ma,15640,mai,15631,man,15625,mang,15454,mao,15448,me,15436,mei,15
10、435,men,15419,meng,15416,mi,15408,mian,15394,miao,15385,mie,15377,min,15375,ming,15369,miu,15363,mo,15362,mou,15183,mu,15180,PinMa=PinMa&na,15165,nai,15158,nan,15153,nang,15150,nao,15149,ne,15144,nei,15143,nen,15141,neng,15140,ni,15139,nian,15128,niang,15121,niao,15119,nie,15117,nin,15110,ning,1
11、5109,niu,14941,nong,14937,nu,14933,nv,14930,nuan,14929,nue,14928,nuo,14926,PinMa = PinMa & o,14922,ou,14921,PinMa = PinMa &pa,14914,pai,14908,pan,14902,pang,14894,pao,14889,pei,14882,pen,14873,peng,14871,pi,14857,pian,14678,piao,14674,pie,14670,pin,14668,ping,14663,po,14654,pu,14645,PinMa=Pi
12、nMa&qi,14630,qia,14594,qian,14429,qiang,14407,qiao,14399,qie,14384,qin,14379,qing,14368,qiong,14355,qiu,14353,qu,14345,quan,14170,que,14159,qun,14151,PinMa=PinMa&ran,14149,rang,14145,rao,14140,re,14137,ren,14135,reng,14125,ri,14123,rong,14122,rou,14112,ru,14109,ruan,14099,rui,14097,run,14094
13、,ruo,14092,PinMa=PinMa&sa,14090,sai,14087,san,14083,sang,13917,sao,13914,se,13910,sen,13907,seng,13906,sha,13905,shai,13896,shan,13894,shang,13878,shao,13870,she,13859,shen,13847,sheng,13831,shi,13658,shou,13611,shu,13601,shua,13406,shuai,13404 ,shuan,13400,shuang,13398,shui,13395,shun,13391,shu
14、o,13387,si,13383,song,13367,sou,13359,su,13356,suan,13343,sui,13340,sun,13329,suo,13326,PinMa = PinMa &ta,13318,tai,13147,tan,13138,tang,13120,tao,13107,te,13096,teng,13095,ti,13091,tian,13076,tiao,13068,tie,13063,ting,13060,tong,12888,tou,12875,tu,12871,tuan,12860,tui,12858,tun,12852,tuo,12849,
15、PinMa = PinMa &wa,12838,wai,12831,wan,12829,wang,12812,wei,12802,wen,12607,weng,12597, wo,12594,wu,12585,PinMa = PinMa &xi,12556,xia,12359,xian,12346,xiang,12320,xiao,12300,xie,12120,xin,12099,xing,12089,xiong,12074,xiu,12067,xu,12058,xuan,12039,xue,11867,xun,11861,PinMa = PinMa &ya,1184
16、7,yan,11831,yang,11798,yao,11781,ye,11604,yi,11589,yin,11536,ying,11358,yo,11340,yong,11339,you,11324,yu,11303,yuan,11097,yue,11077,yun,11067IIJPinMa = PinMa &za,11055,zai,11052,zan,11045,zang,11041,zao,11038,ze,11024,zei,11020,zen,11019,zeng,11018,zha,11014,zhai,10838,zhan,10832,zhang,10815,zha
17、o,10800,zhe,10790,zhen,10780,zheng,10764,zhi,10587,zhong,10544,zhou,10533,zhu,10519,zhua,10331,zhuai,10329,zhuan,10328,zhuang,10322,zhui,10315,zhun,10309,zhuo,10307,zi,10296,zong,10281,zou,10274,zu,10270,zuan,10262,zui,10260,zun,102 56,zuo,10254MyPinMa = Split(PinMa, ,)For i = 1 To Len(Hz)Temp = Asc
18、(Mid(Hz, i, 1)If Temp 0 ThenTemp = Abs(Temp)For j = 791 To 1 Step -2If Temp 匚 乍 Tier?=DTt ZrcelW 51wi:i CElitttj I Jkluwl EIIIWL2) )龜和 E ul 富 I T14 訪報 Mp 應n k 叫 J *yFifcj-RF -f】“ Diipl 郴 i勖 1.7 F*曲F4I54 kLcyll ?ivu EtlQaHijupFQEEEEHEInJLW-LThlbFAIXBQavLl1 0 h I ifq&v k.hfK-UltSb血I5crolI_KTt4i 旅亠
19、山肌乩山乩箔 /kltilfii-J KlSUfit5點擊右上角的模塊編輯十字叉,關閉Visual Basic 編輯窗口,再點擊左上角的EXCEL 圖標,返回 Excel 編輯狀態(tài);自定義函數(shù): =PinYin()在 EXCEL 中就可以應用了。6.根據(jù)漢字姓名的轉(zhuǎn)換的需要組合調(diào)用函數(shù)實現(xiàn)轉(zhuǎn)換;漢字類型漢字轉(zhuǎn)換成拼音B 列輸入的公式全拼小寫阮小二rua n xiao er=pi nyi n( A1)姓阮小二Rua n=PROPER(p in yi n( LEFT(A3,1)名阮小二Xiaoer=PROPER(SUBSTITUTE(pi nyin( RIGHT(B4,LEN(B4)-1) ,)姓
20、和名分開首字母大寫阮小二Ruan Xiaoer=CONCATENATE(PROPER(pi nyi n( LEFT(B5,1),PROPER(SUBSTITUTE(pi nyin( RIGHT(B5,LEN(B5)-1) ),)按字分開 首字母大寫阮小二Rua n Xiao Er=PROPER(pi nyi n(B6)LFirfljii=ftrilt-FiiJU =JafllMnfilfi-M-fulh-Ecr/llk 二1JO3J is LE7b.g 】 陽】 也L焙焙Bz 1.2化亞Sg 12S59.iil. LE祁空1帖龜就劭已 就飢卅昭EMOTES*,也塑膏氐1抽寵idyx吟LLO.T
21、4A& UTse.WAjjT0alT41neoL?&.Z,熄“W卜ewt LflT*:. ckt,I兄倫th軌協(xié)如113.dii. L-Lf. JuvIODlB.SWE.1WE3.LWJia丸1D6. destIfKg ii. iIBHQ氏飯gjL 魔 如起 1001.ffii. 1 跑 xf4Q. L&T&訕比 J 0-3.訂.宙帆戈 f -1 = S-r co.13LEL-J?,lUt-1, 衛(wèi) 1 氐 IttU-j, 4iLQ, it 芒二 L. ”,】120I4_ LtirSQL.IUJILTTW込1和譏,;5J-T-jJ. Z. IV7-X. Ibe,
22、 T?21, gk. LHdXli虬訂TOL丄呀 3 L73J?tjan. ITIHBILK=-.?J1.533 3,JBBD:50, |LB.( (13,35 urK. LE.733. jLI47D.Li. K-S, i4R釉化胡首AsllTi Tuip 吐 lDLLEgETp 1虹虹iDLldgU,As iDLtgwTFl J A. I *iH?D3H,ii.pacn7電亂題 ET LK 電,*一 FitJi. - 亠- - -Pi Of 4.FirTs Flofla. 鬥亠 門亠id.f irflk - -H-Fiiflhi =Txjflw - .”f LTfliw -Fl iiBi Fiiflifc =Fg TirflU = PgHE 二 J uHh 匚Fb
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 燈光設計師的工作總結
- 機械行業(yè)安全操作培訓
- 超高清視頻技術發(fā)展趨勢
- 廣東省深圳市南山區(qū)2023-2024學年六年級上學期英語期末試卷
- 財務工作一年績效總結
- 《深部鉆探論壇廈門》課件
- 《花瓣的哲學》課件
- 《執(zhí)行力密碼》課件
- 2023年廣東省韶關市公開招聘警務輔助人員輔警筆試自考題2卷含答案
- 2021年湖南省常德市公開招聘警務輔助人員輔警筆試自考題2卷含答案
- 2025年內(nèi)江資中縣融媒體中心招考聘用新媒體工作人員3人高頻重點提升(共500題)附帶答案詳解
- 裝修材料合同范例
- 【7地RJ期末】安徽省合肥市廬江縣2023-2024學年七年級上學期期末地理試題(含解析)
- 共用線路三方協(xié)議合同范例
- 戰(zhàn)略規(guī)劃的關鍵要點
- 社會工作服務質(zhì)量保障措施
- 雅禮中學2024-2025學年初三創(chuàng)新人才選拔數(shù)學試題及答案
- 冬季高空作業(yè)施工方案
- 山西云時代技術有限公司招聘筆試題目
- 2024-2025學年人教版九年級數(shù)學上學期復習:圓的綜合解答題 壓軸題型專項訓練(30道題)
- 課程思政專題培訓
評論
0/150
提交評論