+ Reply to Thread
Results 1 to 2 of 2

What's wrong with this code? - Reading Reg Keys

  1. #1
    Forum Contributor
    Join Date
    07-16-2007
    MS-Off Ver
    Excel 2003 and Excel 2016
    Posts
    178

    What's wrong with this code? - Reading Reg Keys

    Please Login or Register  to view this content.
    debug.print returns nothing.
    I verified key value is correct.

    Thanks.

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: What's wrong with this code? - Reading Reg Keys

    Seems to me you are missing a backslash after User Shell Folders and before the key?


    debug.print RegKeyRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\{374DE290-123F-4565-9164-39C4925E467B}")
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

+ 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. Reading a QR Code
    By scottyleics in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2018, 06:12 PM
  2. Send Keys Function and Code Not Iterating Properly
    By catbeasy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-05-2017, 12:03 PM
  3. Tidying up code: Sorting using autofilter and multiple keys
    By cejhoney in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2014, 05:25 AM
  4. Code for email alerts from excel isn't working, wrong code possibly?
    By jessthorogood in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 01:45 AM
  5. vlookup not reading the entire number and returning the wrong value
    By tonbra in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2012, 11:18 AM
  6. vba code equivalent to pressing certain keys
    By yellowpower in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2010, 01:14 PM
  7. Code for Arrow keys
    By praveen_khm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2006, 02:59 PM

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