有什么简洁的方法能将excel格式的单词表逆序排列吗?

ALT+F11打开VBE窗口
在资源管理器窗口单击右键---新建---模块
在模块窗口中粘贴如下代码
Function LiXvstr(str As String)
Dim i As Long, str1 As String
For i = Len(str) To 1 Step -1
str1 = str1 & Mid(str, i, 1)
Next
LiXvstr = Trim(str1)
End Function
回到工作表中
C2单元格中输入公式
=LiXvstr(a2)
下拉填充公式
温馨提示:答案为网友推荐,仅供参考
相似回答