Tammy, :)
Because an ini file is just a text file, it can be read with Ope
statment.
Code
-------------------
Sub test()
Dim fn As Long
Dim tmp As String
fn = FreeFile
'Change here to the file path
Open "c:\test.ini" For Input As fn
Do While Not EOF(fn)
Line Input #fn, tmp
Debug.Print tmp
Loop
Close fn
End Sub
-------------------
--
Message posted from
http://www.ExcelForum.com