VBA
文章平均质量分 73
kzby2003
这个作者很懒,什么都没留下…
展开
-
VBA调整打印设置
Function setPage() filePath = "C:\XXX\" fileNameFullPath = filePath + "1.txt" ' target file list Const ForReading = 1, _ ForWriting = 2, _ ForAppending = 8, _原创 2014-10-25 10:57:52 · 5165 阅读 · 0 评论 -
VBA点滴备忘录(持续更新中)
Sub check_wk() wk = "book1.xls" On Error Resume Next If Len(Workbooks(wk).Name) > 0 Then If Err.Number = 9 Then MsgBox "Can't find " & wk Else MsgBox wk & " is open" End If End If End Sub原创 2014-10-23 16:50:11 · 711 阅读 · 0 评论