3个回答
展开全部
单个汉慎亏字的话可以直接用公式,多个汉字的话vba更方便宽激神一些。
按住ALT依次按F11,I,M。将下面的代码粘贴到右侧窗口。
==========
Function PY(x)
On Error Resume Next
Application.Volatile
For i = 1 To Len(x)
PY = PY & Application.WorksheetFunction.HLookup(Mid(x, i, 1), [{"吖","八","嚓","咑","鵽","发","猤","铪","夻","咔","垃","呒铅裤","旀","噢","妑","七","囕","仨","他","屲","夕","丫","帀";"A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","W","X","Y","Z"}], 2)
Next
End Function
==========
假设要转化的汉字在A列,B1输入公式 =PY(A1)向下填充即可。
按住ALT依次按F11,I,M。将下面的代码粘贴到右侧窗口。
==========
Function PY(x)
On Error Resume Next
Application.Volatile
For i = 1 To Len(x)
PY = PY & Application.WorksheetFunction.HLookup(Mid(x, i, 1), [{"吖","八","嚓","咑","鵽","发","猤","铪","夻","咔","垃","呒铅裤","旀","噢","妑","七","囕","仨","他","屲","夕","丫","帀";"A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","W","X","Y","Z"}], 2)
Next
End Function
==========
假设要转化的汉字在A列,B1输入公式 =PY(A1)向下填充即可。
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2008-12-31
展开全部
呒 原来是一贴上去就会变
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询