+ Reply to Thread
Results 1 to 3 of 3

VBA code to get registry from PC

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    VBA code to get registry from PC

    Hi All

    I want VBA code to get registry from my PC. So basically I want to put some conditions in the workbook like if registry=something then do this Else do something different.

    Like when we go to Start->My computer->View System Information

    then in General tab , there is "Registered To" so I want that value using VbA

    Any help would be much appreciated.

    Thanks

  2. #2
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: VBA code to get registry from PC

    I can display all other information except "registerd to" on my pc.
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA code to get registry from PC

    Application.OrganizationName will return the name of the company for which the computer is registered if that's what you are after:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel 2007 : Need Help With A Registry
    By AgentDirtySanchez in forum Excel General
    Replies: 3
    Last Post: 06-26-2010, 09:32 PM
  2. Using the Registry. How to know if Key exists?
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-04-2009, 01:20 PM
  3. Automation & Registry
    By AA2e72E in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-10-2006, 06:30 PM
  4. [SOLVED] VBA code to change registry value of existing DSN
    By Alan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2005, 04:05 PM
  5. Reading the Registry
    By JK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2005, 06:06 AM

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