摘要:
需要安装对应驱动程序: mysql-connector-odbc 输出的数组首行为表头 '从Mysql中取数并转换为二维数组 Public Function GetMySQlArr(ByVal SQLStr As String) Dim TempArr, AimArr Dim i As Long, 阅读全文
摘要:
'检查工作表是否存在 Public Function SheetExist(strSearchFor As String) As Boolean Dim InterimSheet As Object SheetExist = False For Each InterimSheet In Active 阅读全文
摘要:
'列数转字母 Public Function CNtoW(ByVal number As Long) As String CNtoW = Replace(Cells(1, number).Address(False, False), "1", "") End Function '字母转列数 Publ 阅读全文