Dim d as Object, w as WorkSheet, r as Range
Set d=CreateObject("Scripting.Dictionary")
set w=ActiveSheet
set r=Range("a1")
d.Add 'sheet', w
d.add 'range', r