Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default 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




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default 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






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error 1406 setup cannot write to registry hp Excel Discussion (Misc queries) 0 June 16th 09 07:08 PM
read only and write only zilah New Users to Excel 2 July 8th 07 03:01 PM
I have a read only xl file, I need it to be read and write drama queen Excel Discussion (Misc queries) 3 July 1st 06 12:25 AM
Read-write/Read-only Jillian Excel Discussion (Misc queries) 4 February 16th 06 05:26 PM
How can a file be converted from Read-Only to Read/Write Jim in Apopka Excel Discussion (Misc queries) 2 November 19th 05 04:59 PM


All times are GMT +1. The time now is 01:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"