Path not found

  • Hello, I have problems with the script.

    The file path is not found. The file is located on SharePoint and the script should read the Excel file in a folder located on SharePoint.


  • You have not said what the problems are - we are not clairvoyant.


    I have added code tags for you - please do this yourself in future. Thanks.

    Ali :)


    Enthusiastic self-taught user of MS Excel who's always learning!
    If anyone has helped you towards solving a problem, then you can thank them by clicking on the like icon bottom right.

    :!:Forum Rules

  • If you click to edit your opening post, you will see what I mean.


    See the content section here: Forum Rules

    Ali :)


    Enthusiastic self-taught user of MS Excel who's always learning!
    If anyone has helped you towards solving a problem, then you can thank them by clicking on the like icon bottom right.

    :!:Forum Rules

  • What is the value of sDateiPfad when the error occurs.


    To understand about Code Tags and other requirements of the Forum, simply spend a few minutes reading the Forum Rules

  • That's not a value that's an error. If it is the value then you have a problem in the code that produes that value. You need to Debug your code by stepping through it.

  • Hello, can anyone tell me what the problem is that the path cannot be found?

    When I execute the script, an error message is always displayed at the same place (runtime error 76).


    Code
    For Each oDatei In oFS.GetFolder (sDateiPfad).Files

    The whole script for execution is here.


    Het script haalt gegevens op uit een extern gesloten map en voegt deze rij voor rij toe aan een nieuw Excel-bestand.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!