Import Section in Multiple Text files into 1 Excel file

D10685

New Member
Joined
Feb 4, 2016
Messages
2
I have one tag I need imported, along with the file name, from multiple TXT files into 1 Excel file (preferably Column 1 file name, column 2 the tag shown below). I only need the text within the tag.
<phrase translate="true">REVISION TIBIAL SLEEVE SEPARATOR - DRIVER</phrase>

Excel example:
COLUMN 1 | COLUMN 2
(file name) (tag content)
17231980.1 | REVISION FEMORAL BROACH TRIAL BOLT
17231980.2 | REVISION MACRO SOLID FEMORAL TRIALS CASE

<colgroup><col><col></colgroup><tbody>
</tbody>

Does anyone have a macro that would work for this? With my very sparse knowledge on Macros I can run them but no idea how to write one this specific.

Thanks in advance!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
oops the tag disappeared on me, lets try it with some spaces added:

< phrase translate="true" > < /phrase >
 
Upvote 0

Forum statistics

Threads
1,216,066
Messages
6,128,582
Members
449,459
Latest member
20rayallen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top