ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Reading registry with Excel (https://www.excelbanter.com/excel-programming/328157-reading-registry-excel.html)

Alesandro Senerchia

Reading registry with Excel
 
Hello to all,

hope that somebody can help me with this.

I have an excel macro, that reformats a xls file to a csv (given it a name
and a saving path, -- later on will need to write to the reg to be able to
pick up value for another app).
For the moment, the path and filename are hard coded in the code, i would
need it more flexible has diff users have diff requests for filename/path.

What code can I use to retrieve or write to registry keys?

Thank you in advance for your help.

Alex




Patrick Molloy[_2_]

Reading registry with Excel
 
Plesae read Help on the GetSetting and SaveSetting methods. Its gives good
examples.

"Alesandro Senerchia" wrote:

Hello to all,

hope that somebody can help me with this.

I have an excel macro, that reformats a xls file to a csv (given it a name
and a saving path, -- later on will need to write to the reg to be able to
pick up value for another app).
For the moment, the path and filename are hard coded in the code, i would
need it more flexible has diff users have diff requests for filename/path.

What code can I use to retrieve or write to registry keys?

Thank you in advance for your help.

Alex






All times are GMT +1. The time now is 11:42 AM.

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