How to get the file path and name into Consolidate Sources:

  • Hi I just start using vba macro and I need to know how to get the file path and name into Consolidate Sources when the user using browse to open the file.
    I try to take it from the my_FileName but it always show error which is cannot identify the path and the name of the file.
    This is my code for that part:



    Hopefully there is someone out there who can show me what is wrong with that and how to fix it.
    Thanks before.

  • Re: How to get the file path and name into Consolidate Sources:


    Try this:


  • Re: How to get the file path and name into Consolidate Sources:


    Quote from AlanSidman;778717

    Try this:



    Thanks for the reply. But how I put the path and name into the consolidate sources to make it works?

Participate now!

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