+ Reply to Thread
Results 1 to 4 of 4

Automation & Registry

  1. #1
    AA2e72E
    Guest

    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. #2
    GS
    Guest

    RE: 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. #3
    AA2e72E
    Guest

    RE: Automation & Registry

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

  4. #4
    GS
    Guest

    RE: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1