title: Create a file structure / dictionary tree in Excel VBA
body: <p>I wrote a vba function that fetches a file structure (paths of folders and their subfolders) from a database and saves it in a dictionary, similar to a hash.</p>
  
  <p>Now, i want to either create a worksheet <strong>or</strong> a userform, that creates a file structure from the dictionary similar to this:</p>
  
  <p><a href="https://i.stack.imgur.com/NEUxC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NEUxC.png" alt="enter image description here"></a></p>
  
  <p>Basically a file structure where the user can browse folders and subfolders, and has the option (for example with a checkbox) to select and deselect the innermost folder (which contains scripts, and all selected scripts will be executed..).</p>
  
  <p>Is there any structure like this or anything else similar that does the job in either an excel worksheet or a VBA userform? </p>