R
Roy Lasris
Is there an Excel VBA board? I cannot find it. May I post this here please?
In Word, it is easy to get a registry value using the following formula:
NameIs = System.PrivateProfileString("", _
"HKEY_LOCAL_MACHINE\Software\SECTIONNAME", "ENTRYNAME")
The above is not recognized by Excel. This is a formula that I found when I did
a search under 'registry' in the Excel help system, but it doesn't read the
right information. (Actually, it seems to read nothing and it returns an empty
value.) Any ideas as to what might make this work?
NameIs = GetSetting(AppName:="MyApp", Section:= _
"HKEY_LOCAL_MACHINE\Software\SECTIONNAME", _
key:="ENTRYNAME")
Thanks.
Roy
In Word, it is easy to get a registry value using the following formula:
NameIs = System.PrivateProfileString("", _
"HKEY_LOCAL_MACHINE\Software\SECTIONNAME", "ENTRYNAME")
The above is not recognized by Excel. This is a formula that I found when I did
a search under 'registry' in the Excel help system, but it doesn't read the
right information. (Actually, it seems to read nothing and it returns an empty
value.) Any ideas as to what might make this work?
NameIs = GetSetting(AppName:="MyApp", Section:= _
"HKEY_LOCAL_MACHINE\Software\SECTIONNAME", _
key:="ENTRYNAME")
Thanks.
Roy