AhmedBaksh
New Member
- Joined
- Apr 27, 2020
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
I'm a new to this forum and I kindly need your guidance here on the below
I have a excel macro-enabled workbook that I want "any user" to be able to use on their desktop. This workbook can be saved on any location on the user's PC. It requires "XML" files extractions to pull in the data from.
The workbook has an "input" sheet where the user can place the file location of the xml files. The xml files will be having designated names (Example: ACT H.xml).
The button that I want the VBA to be attached to should perform the below VBA action:
1- Locate the xml file with the designated name in the location specified by the user in the main input sheet.
2- Open the xml file, copy entirely everything and paste the data in the active main excel sheet in the designated sheet "ACT H".
3- The xml file to automatically close.
I have attached the image for your reference.
Really appreciate your input as I have been trying some codes online but with no luck!
I have a excel macro-enabled workbook that I want "any user" to be able to use on their desktop. This workbook can be saved on any location on the user's PC. It requires "XML" files extractions to pull in the data from.
The workbook has an "input" sheet where the user can place the file location of the xml files. The xml files will be having designated names (Example: ACT H.xml).
The button that I want the VBA to be attached to should perform the below VBA action:
1- Locate the xml file with the designated name in the location specified by the user in the main input sheet.
2- Open the xml file, copy entirely everything and paste the data in the active main excel sheet in the designated sheet "ACT H".
3- The xml file to automatically close.
I have attached the image for your reference.
Really appreciate your input as I have been trying some codes online but with no luck!