I have created a workflow to identify signatures in a document and save them as images. I want to now upload these images in an Excel sheet: for example, like below, where one column has the name of the file and the next has the signature image. What activity should I use?
Save this vba snippet in a .txt file in your project:
Sub InsertImageToExcel(imagePath,workSheetName, cell)
Set myDocument = Worksheets(workSheetName)
myDocument.Shapes.AddPicture _
imagePath, _
False, True, Range(cell).Left, Range(cell).Top, -1, -1
End Sub
I think you are using the classic activity for Invoke VBA
In the properties panel of Invoke VBA Add arguments in
EntryMethodParameters: {strImagePath, strWorksheetName, strCell}