title: Declare a dictionary without Microsoft Scripting Runtime
body: <p>I do have a main Excel VBA Programm which calls a Sub Routine with late binding because using the Tools->References-> Microsoft Scripting Runtime is not feasable for the know reasons.</p>
  
  <pre><code>Main Program    
  Dim Dict As Object
  Set Dict = CreateObject("Scripting.Dictionary")
  Call SubRoutine(Dict)
  </code></pre>
  
  <p>next step is to send the dictionary to my SubRoutine</p>
  
  <pre><code>Public Sub SubRoutine(Dict As Scripting.Dictionary)
  do something
  end
  </code></pre>
  
  <p>will result in compiling error which is expected because I do not have the reference to the Microsoft Scripting Runtime.
  The Questions is now, how to solve that problem to declare the dictionary.
  By using</p>
  
  <pre><code>Set Dict = CreateObject("Scripting.Dictionary")
  </code></pre>
  
  <p>Would empty the dictionary.</p>