百度vba资料,才清楚 vba写文件还是挺方便的

 

Function GenSQLFile(ByVal File As String, ByVal SQLBody As String)
    Open File For Output As #1
    Print #1, SQLBody
    Close #1
End Function

 

posted on 2018-01-03 14:11  窗外蔡大岭  阅读(291)  评论(0编辑  收藏  举报