Error -2147417848 Automation error The object invoked has disconnected from its clients
问题 I am working on clearing some tables in 3 excel sheets. My code was working fine with Excel 2007, as i switched to excel 2010 i started getting this runtime error Automation error The object invoked has disconnected from its clients , error number -2147417848 and then excel freezes. the error is showing after running this function 2 times on the line Sheets("Risk Details").Range("A3" & ":BV" & (count + 1)).Delete Shift:=xlUp can anyone help me in finding out why this is happening and how to