import multiple files into Excel

Johny1900

Board Regular
Joined
Dec 20, 2007
Messages
54
Hi everybody,

I need to import about 1500 HTML file into a DB (SQL Server). But (here is the big problem), I only need to import some data of each HTML file (always the same line/variable).
So I thought using Excel as you can say with part of the HTML file you want to import. It works great.
But I did it with one file. Is there a way you can select a whole directory and it does it for you?

Many thx

Johny
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hello Cindy Ellis
okay?
First parabinizo the code it is actually very useful.
using this code, I need help to do the following:
When you import the file have the option to choose which line will be imported, fine.
But when it matters I would like to informing you finish to which column I'll send the line imported.
Ex: Excel
A B C
2 xx000x 8073 123456
3 xx000x 8074 123457
etc
=====================================================
Olá Cindy Ellis,
tudo bem ?
Primeiro parabinizo pelo código ele é realmente muito util.
utilizando esse codigo, eu preciso de ajuda para fazer o seguinte:
Ao importar o arquivo temos a opção de escolhar qual linha será importada, ótimo.
Porém ao importar eu gostaria de infomar para qual coluna eu vou enviar a linha importada.
Ex: Excel
A B C
2 xx000x 8073 123456
3 xx000x 8074 123457
etc
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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