Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 400
Default Automation & Registry

Using the automation object (xl) from VB i.e.

set xl = CreateObject("Excel.Application")

How can I call the registry functions, SaveSettting and GetSetting, in Excel?
  #2   Report Post  
Posted to microsoft.public.excel.programming
GS GS is offline
external usenet poster
 
Posts: 364
Default Automation & Registry

possibly:

xl.SaveSetting...
xl.GetSetting(...)

Regards,
GS


"AA2e72E" wrote:

Using the automation object (xl) from VB i.e.

set xl = CreateObject("Excel.Application")

How can I call the registry functions, SaveSettting and GetSetting, in Excel?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 400
Default Automation & Registry

No!
These are VBA functions and not part of the Excel Object i.e. they are not
methods.
  #4   Report Post  
Posted to microsoft.public.excel.programming
GS GS is offline
external usenet poster
 
Posts: 364
Default Automation & Registry

Yes, you're right. In this case, it may need a reference to the application's
VBA library. Something like

xl.VBA.GetSetting(_,_,_,_)
xl.VBA.SaveSetting _,_,_,_
possibly!

Regards,
GS


"AA2e72E" wrote:

No!
These are VBA functions and not part of the Excel Object i.e. they are not
methods.

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
VBA Modify Registry Mary Excel Programming 1 February 18th 05 05:32 AM
How to search the registry key Belinda Excel Programming 2 February 26th 04 01:14 PM
Value from Registry Roy Lasris Excel Programming 3 February 23rd 04 11:53 PM
Registry Tom Ogilvy Excel Programming 1 July 16th 03 01:02 AM
Registry Patrick Molloy[_4_] Excel Programming 0 July 15th 03 12:45 PM


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

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

About Us

"It's about Microsoft Excel"