摘要: Private Sub CommandButton1_Click() '遍历当前目录所有文本文件'按行读取文本文件Application.ScreenUpdating = False'若不含模板文件,则自动调用创建模板的过程If Len(Dir(ThisWorkbook.Path & "\" & " 阅读全文
posted @ 2022-03-07 22:30 Wilson_Zhao 阅读(348) 评论(0) 推荐(0)
摘要: 1 //获取当前程序的启动文件绝对路径,包含文件名,这样修改可执行exe文件的名字后,依然可以重新启动当前程序 2 string currentAppOriginal = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileNa 阅读全文
posted @ 2021-10-14 20:54 Wilson_Zhao 阅读(378) 评论(0) 推荐(0)