老大,我的还是不能用呀,你可以帮我看看是那个环结出问题了吗,因为这几天一直忙,也没有上线: Sub Macro1() ' ' Macro1 Macro ' 宏由 user 录制,时间: 2008-6-10 ' ' ChDir "C:\Documents and Settings\user\桌面\删除密码" Workbooks.Open Filename:="C:\Documents and Settings\user\桌面\删除密码\Book1.xls" ActiveWorkbook.SaveAs Filename:= _ "C:\Documents and Settings\user\桌面\删除密码\Book1.xls", FileFormat:=xlNormal, _(一定要重新命名) Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _ CreateBackup:=False End Sub Sub Macro2() ' ' Macro2 Macro ' 宏由 user 录制,时间: 2008-6-10 ' ' Windows("Book1.xls").Activate ActiveWindow.Close End Sub
Sub Macro1() ' ' Macro1 Macro ' 宏由 user 录制,时间: 2008-6-10 ' ' ChDir "C:\Documents and Settings\user\桌面\删除密码" Workbooks.Open Filename:="C:\Documents and Settings\user\桌面\删除密码\Book1.xls" ActiveWorkbook.SaveAs Filename:= _ "C:\Documents and Settings\user\桌面\删除密码\Book1.xls", FileFormat:=xlNormal, _ Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _ CreateBackup:=False End Sub Sub Macro2() ' ' Macro2 Macro ' 宏由 user 录制,时间: 2008-6-10 ' ' Windows("Book1.xls").Activate ActiveWindow.Close End Sub 可否帮我解释下呢? 拜托啦................ |