Forum Discussion

mike_s's avatar
mike_s
Copper Contributor
Dec 12, 2018
Solved

Add-in registry access problem

I am the author of an add-in (Rainbow Analyst) which retrieves certain stored user details from the Windows Registry during startup. This code has operated without any problem for some years now, but...
  • JKPieterse's avatar
    Dec 12, 2018
    Does it help to postpone the registry reads until Excxel has really fininshed starting up? What I usually do to allow Excel to finish it's business during startup is (in Workbook_Open) schedule a macro called "ContinueOpen" situated in a normal module using Application.Ontime. This prevents all sorts of issues stemming from Excel not having finished to load completely when your Workbook_Open is called.

Resources