摘要:
在使用Excel VBA的过程中,如何判断某个Excel文件是否打开? 示例: Dim sFileName as String Dim i as IntegerDim bOpenFlag as booleanbOpenFlag=FalsesFileName="aaa.xlsx"for i in Wo 阅读全文
摘要:
从指定的带有路径和文件名的字符串里提取文件名:Dim sFile as string Dim sFileName as string Dim sPath as stringsFile="D:\xxx\xxx\xxx\aa.xlsx"sFileName=Split(sFile,"\")(Ubound( 阅读全文