How to copy an image attachment from Outlook and paste into Word document or powerpoint?

Hi,

Just wanna ask that who got any ideal on how to copy an image attachment from Outlook and paste into Word document or powerpoint?

Thanks!

*Above solution which solved to create a dynamic folder with current date in local desktop.

@phoenix123,

First download attachment from outlook and then use Add Picture under word application scope activity to add image to word file.

1 Like

Thanks! Will try it!

1 Like

@lakshman is there anyway that can just automatically paste the image into word document without specifying the image on Add Picture?

@phoenix123,

I don’t think so any other method to do this. Lets wait for others reply.

1 Like

@lakshman Ok thanks for your contribution!

1 Like

@lakshman hi sorry external question do you know how to create a dynamic and current date folder in UiPath?

@phoenix123,

Yes, use Create Directory activity to create folder and specify path as “C:\Users\Documents”+now.toString(dd_MM_yyyy)

1 Like

@lakshman thank you sir for your response!

1 Like

@lakshman

Having this error now, it say that compile error and dd_MM_yy is not declared but I try without putting now.ToString(dd_MM_yyyy), it can create the directory but without the current date.

@phoenix123,

May I know what error it is showing ?

@lakshman on the Create Directory

@lakshman it showing Compile error(s) encounted processing expression ““C:\users\user\Desktop\File_Download”+now.ToString(dd_MM_yyyy)”. ‘dd_MM_yyyy’ is not declared. It may be in accessible due to protection level.

@phoenix123,

Sorry. Try below one:

“C:\Users\Documents”+now.toString(“dd_MM_yyyy”)

2 Likes

@lakshman yes it work thanks!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.