sandeepkhans
New Member
- Joined
- Feb 2, 2022
- Messages
- 1
- Office Version
- 2019
- Platform
- Windows
Hi, I am new to using macros. I use xml mapped excel to extract flight planning information. However, when I send the excel and xml files through email to other users, the mapping link does not work obviously.
Is there any way so that when these files are loaded on a new machine, the updated file directory of the xml file is automatically updated in the macro as soon as the excel is opened on the new machine for the first time?
ActiveWorkbook.XmlMaps("FlightPlan_Map").Import Url:= _
C:\Users\Dell\Desktop\FPL_IL\XPS.txt
Is there any way so that when these files are loaded on a new machine, the updated file directory of the xml file is automatically updated in the macro as soon as the excel is opened on the new machine for the first time?
ActiveWorkbook.XmlMaps("FlightPlan_Map").Import Url:= _
C:\Users\Dell\Desktop\FPL_IL\XPS.txt