How do I use FileSystemObject in VBA?

前端 未结 5 847
萌比男神i
萌比男神i 2020-11-22 02:50

Is there something that I need to reference? How do I use this:

Dim fso As New FileSystemObject
Dim fld As Folder
Dim ts As TextStream

I am

5条回答
  •  悲&欢浪女
    2020-11-22 03:36

    After adding the reference, I had to use

    Dim fso As New Scripting.FileSystemObject
    

提交回复
热议问题