function blah(y as range)
y.cells(1,1).value =5 'this causes y to become empty
end function

help appreciated