2 Replies Latest reply: Sep 2, 2011 3:52 PM by Josh Duenyas RSS

    Script fails

    Josh Duenyas

      Hi all

      Script editor fails in the line:


      set fso = CreateObject("Scripting.FileSystemObject")



      Any idea what is going on?






      The error returned is:

      ActiveX component can't create object: 'Scripting.FileSystemObject'

        • Script fails
          Erich Shiino


          On the edit module window, you need to set requested module security to 'System Access' and Current Local Security to 'Allow system Access'


          Hope this helps,



            • Script fails
              Josh Duenyas

              Thanks. I finally figuered this one out.

              However, When clicking the Debug and the selected sub contains a parameter I get a message "Cannot debug function with parameters"


              What is that?


              (This editor is unlike any VB editor I have expreienced -- mainly Access VBA and VB Studio)