ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro code for INI file (https://www.excelbanter.com/excel-programming/279232-macro-code-ini-file.html)

John[_61_]

Macro code for INI file
 
Hi There,

Has anyone can share me any ideas on how to read
MYFILE.INI file to memory variables and later use in my
application. Once the application done processing all
variables used will be save back to MYFILE.INI for next
day use, specifically for my counter that would increment
each day. My INI file look like below:

[GENERAL]
Mycompany=ABC Company
Myaddress=143 1st street
[USERINFO]
USERID=ITSME
PASSWORD=WORDPASS
[OTHER]
COUNTER=1001
DATE=20031010

Hope that I can get new good ideas from your suggestions.

TIA
John


Harald Staff

Macro code for INI file
 
Hi John

See
http://freespace.virgin.net/s.cowan/.../ini_files.htm
on this.

--
HTH. Best wishes Harald
Followup to newsgroup only please

"John" skrev i melding
...
Hi There,

Has anyone can share me any ideas on how to read
MYFILE.INI file to memory variables and later use in my
application. Once the application done processing all
variables used will be save back to MYFILE.INI for next
day use, specifically for my counter that would increment
each day. My INI file look like below:

[GENERAL]
Mycompany=ABC Company
Myaddress=143 1st street
[USERINFO]
USERID=ITSME
PASSWORD=WORDPASS
[OTHER]
COUNTER=1001
DATE=20031010

Hope that I can get new good ideas from your suggestions.

TIA
John





All times are GMT +1. The time now is 07:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com