以下是引用tangqp在2006-9-20 9:34:00的发言:
Public Function WordToNum(Num As Integer) As String
If Num < 27 Then
WordToNum = Chr(64 + Num)
Else
WordToNum = Chr(64 + Int(Num / 26)) & Chr(64 + Num Mod 26)
End If
End Function
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |