I would add to the other replies that you could/should save your settings
the System Registry instead of a text ini file. The registry was intended
and designed to replace the ini files of yesteryear. Using the registry has
the possible advantage that if there are two or more users of the same
machine, each with his own logon id, each user will have their own
configuration settings, rather than all users using the same config file,
with one user overwriting another user's settings.
For some simple code to work with the System Registry that wraps up all the
Windows APIs into nice, neat, VBA-friendly procedures, see
www.cpearson.com/excel/registry.htm .
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)
"Eric" wrote in message
...
Hi,
I am writing an add-in and one of its first duty should be to be able to
read a "config file" containing several settings necessary to the other
procedures in the add-in.
Another procedure in the add-in will also allow the user to change and
save
new settings into this same config file.
I really don't know where to start? How would you go about it?
Thank you.
Eric