Unable to create FileSystemObject in Access VBA

I have encountered an error when trying to create a FileSystemObject. This code has been running fine for about a year and a half, but now on one system my user is recieving:


Answer this question

Unable to create FileSystemObject in Access VBA

  • Samoyed

    I have the same problem. But with what appears to be several hundred reference libraries to choose from which one should i attemp to activate


  • John_Enters

    First thought that occurs to me is that the Reference to the Scripting
    library may be broken on that machine (perhaps it's not even installed )

    Open the VB editor, view the project, go to Tools/References and see if
    it's still activated.



  • Gregory_23_PL

    Dim fso as Scripting.FileSystemObject

    set fso = new Scripting.FileSystemObject

    Also reference the MS Scritping Runtime. That's all I can do.


  • Unable to create FileSystemObject in Access VBA