VBA read/write registry

  • Thread starter Thread starter nelson
  • Start date Start date
N

nelson

Dear All,

I'm a newbie in excel programming.

How can I read / write the setting in the registry using excel vba?

Thank you!
BR
Nelson
 
Nelson,

The simplest way is to use GetSetting, SaveSetting, and
GetAllSettings. You can also use the RegRead and RegWrite methods
of the WshShell object in the Windows Script Host Object Model.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com (e-mail address removed)
 
Back
Top