wind20mph
New Member
- Joined
- Sep 30, 2017
- Messages
- 1
Hi pleasant day to everyone. I am new to this forum and I need some advise in MS Access - Excel VBA.
Starting with MSAccess, how do I read a text file line by line and put it in a VBA variable?
thanks in advance.
Data content of a text file
hostname = 192.168.33.11
port = 3306
username = admindb
password = adminpass1234
database = payrolldb
My purpose is to not modify vba code of Access everytime there is a new MySQL server. But rather just modify the text file for the connection.
Starting with MSAccess, how do I read a text file line by line and put it in a VBA variable?
thanks in advance.
Data content of a text file
hostname = 192.168.33.11
port = 3306
username = admindb
password = adminpass1234
database = payrolldb
My purpose is to not modify vba code of Access everytime there is a new MySQL server. But rather just modify the text file for the connection.