首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VBA >

Excel_VBA 写资料

2012-12-24 
Excel_VBA 写文件Function saveRecordsToTxt(ByVal records As String, ByVal path As String) As Boolean

Excel_VBA 写文件
Function saveRecordsToTxt(ByVal records As String, ByVal path As String) As Boolean '写文件
If isNullOrEmpty(path) Then
    saveRecordsToTxt = False
End If

Open path For Output As #1
Print #1, records
Close #1
saveRecordsToTxt = True
End Function

热点排行