title: VBA 'Scripting.Dictionary' on a MAC
body: <p>I have the following code on a VBA spreadsheet (which works perfect on a PC):</p>
  
  <pre><code>With CreateObject("Scripting.Dictionary")
  For Each rCell In ws.Range("meals", ws.Cells(Rows.Count, "B").End(xlUp))
      If Not .Exists(rCell.value) Then
          .Add rCell.value, Nothing
      End If
  Next rCell
  
  cbMeal.List = .Keys
  End With
  </code></pre>
  
  <p>Is there a way to get it to work on the MAC? </p>