Recommended way to read and write .ini files in VBA
问题 Are any methods available in VBA to read and write INI files? I know I could use; Open "C:\test.ini" For Input As #1 ...and parse the data. Instead I am trying to see what tools are already available. I know in C# you can do... using INI; INIFile ini = new INIFile("C:\test.ini"); Is there an equivalent for VBA? I am attempting this in MS Access 2003 VBA. 回答1: Here are some code snippets that we use, it should help you to get the idea. These routines use the API calls. Two functions are