hi there
i use this line inside an addin
only when I open the XL App, the addin is uploding, so when excution comes to the line ,
it gives this error:
Run Time Error 1004
Method calculation of object Application Failed
however, when the XL App is already openned, then uploading or unloading the Addin cause no problem