Convert INI files

New Comer

New Member
Joined
Dec 20, 2004
Messages
15
hello all,

How can import a folder of *.INI files into a excel sheet or Access Table? see contents of a sample file.
[AddressLibrary]
DataName=Messrs Berry & Berry
DataAddress1=fdfdsfdf
DataAddress2=dfdgfg
DataAddress3=hffggg
DataAddress4=dfdfd
DataDX=fdfdf
DataFax=qqqqqqqqqqq
DataEMail=ddddd
DataPhone=fffdfdf

Thanks for your help.

Zam
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
What exactly do you want to do?

Can't you just goto File>Open... select All Files from the Files of type drop down, locate the ini file(s) and then follow the text import wizard?
 
Upvote 0
sorry I did not explain properly. What I want to do is to create a macro to read the Section keys and values line by line then import those valuesa and put in a table of fields.
 
Upvote 0
Zam

Did you try my suggestion at all?

If you need a macro you could record one when doing what I suggested?

Also could you explain the format you want the data in?
 
Upvote 0

Forum statistics

Threads
1,203,062
Messages
6,053,309
Members
444,652
Latest member
ibcap

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