I have a Word VBA function that I'm trying to build in Excel VBA (the reason behind this choice comes from this question) and I'm stuck at the following problem:
The Word VBA function uses System.PrivateProfileString
extensively, which throws the Compile Error: invalid qualifier
error when applied to Excel VBA. What's the equivalent statement in Excel? Alternatively, how do I work my way around this?
Example of use:
strHomeSharePath = System.PrivateProfileString("", "HKEY_CURRENT_USER\Volatile Environment", "HOMESHARE")