I have this XLTM that reads via sql some records from two files, and should save them in an Excel worksheet (XLSX) on two tabs, via
I am trying to retrieve the Path where the XLTM is located; and have the XLSX saved there.
If the XLTM is opened via double click. The Path is defined as the Default File Path (Application.DefaultFilePath) but this is NOT where the XLTM is really located. If I Open it via OPEN, the path is retrieved correctly:
I ran of Ideas of what to do.Please Login or Register to view this content.
Thanks in advance.
Ernesto
Bookmarks