Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Reading registry with Excel

forgot to mention,
im using Excel 2000


"Alesandro Senerchia" wrote in message news:...
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





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default Reading registry with Excel

"Alesandro Senerchia" wrote in message
...
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?


Hi Alex,

Look at the SaveSetting and GetSetting statements in VBA help. These
will allow you to do what you want.

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm


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
Reading registry with Excel Alesandro Senerchia Excel Programming 1 April 26th 05 07:53 AM
Reading the Registry JK Excel Programming 1 March 6th 05 09:42 AM
Reading the Registry - CSV Download Flag Tim Childs[_6_] Excel Programming 6 December 10th 03 10:39 PM
Confirm Open After Download - Reading Registry Tim Childs[_6_] Excel Programming 3 November 30th 03 05:31 PM


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

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"