ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA read/write registry (https://www.excelbanter.com/excel-programming/275022-vba-read-write-registry.html)

nelson

VBA read/write registry
 
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





Chip Pearson

VBA read/write registry
 
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



"nelson" wrote in message
...
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








All times are GMT +1. The time now is 04:09 PM.

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