Excel range into image

Hi guys,

I am trying to save the range image.

For this purpose first, I tried created the VBA in Excel and change the range into the image and its working from excel file.

But when I tried using the Invoke VBA i the UIPATH .Its not working.

I am not sure whether I am Right with this formula or not.

Please check the excel error and UIpath

image