Read and write from/to registry in VBA

I think the problem here was that the macro did not have permission to write to the registry. More information in this page. I could read the key’s value using the WScript object just fine: Debug.Print CreateObject(“WScript.Shell”).RegRead(“HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR\Start”) To write (it should work if you have permissions): CreateObject(“WScript.Shell”).RegWrite “HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR\Start”, 4, “REG_DWORD” How I got it to … Read more

Launch IE from a link in Chrome

Ok so I did the following which works : HKEY_CLASSES_ROOT alert (Default) = “URL:Alert Protocol” URL Protocol = “” DefaultIcon (Default) = “iexplore.exe,1” shell open command (Default) = cmd /k set myvar=%1 & call set myvar=%%myvar:alert:=%% & call “C:\Program Files (x86)\Internet Explorer\iexplore.exe” %%myvar%% & exit /B Then have your link <a href=”alert:www.google.ie”>link</a>