UIPath Add Image failed


#1

Scenario: Start -> Take screenshot -> Save image -> Excel application scope (To “Add Image” to excel sheet)

Steps to reproduce: Start -> Take screenshot -> Save image -> Excel application scope (To “Add Image” to excel sheet)

Current Behavior: Error “Add Image : Object reference not set to an instance of an object.”

Expected Behavior: Image is added to Excel sheet

Studio Version: 2017.1.6522

Last stable behavior:
Last stable version:
OS Version: Windows 10
Others if Relevant: (workflow, logs, .net version, service pack, etc):


#2

Hi @datnt,

Add image activity will work in word applications only but not for excel files.


#3

Hi,
Add Image activity falls under word package (UiPath.Word.Activities.WordAddImage)
However you could try this.
How to save Screen Shot Image in Excel


#4

@lakshman and @ddpadil Thank you for your response.

I had tried both: i.e writing image to excel, and writing image to winword.

I am able to take screenshot, and save into winword file just as mentioned here:

Before I was using Community Edition, but later, I used a Trial version. I don’t know whether there is any different between these 2 versions.

Sorry about my late response.