How do you correct assigna variable to store the reference to the cell ? Last line throws Subscript out of range error
Public Sub CommandButton1_Click()
Dim variance As Range
Dim risk As Range
Dim time As Range
Dim output As Range
variance = Sheets("ABC").Range("C6")