How to put variable into a write cell activity?

Dear Expert

I have a request as below:

I need to vlookup value from another file [YAMADA 0516-1.XLSX] into cell J2

However, the file name is a variable [strFilename], therefore I have to input this variable into the [write cell] activity.

But turns out error while I debug

May I know what is the best way to make it happen?

image

Thank you for your kind advise in advance

Regards

Hi @yangyq10

Please check this

Regards,

Hi,

Can you share what error you have?
Also check if content of strFilename_1 is same withwhat you expect.

Regards,

Hi @yangyq10

can you refer the below thread.

try to add to string in strFilename.Tostring , also you can use & symbol instead of “+”.

Hope it helps!!!

@lrtetala Thank you, I know why I got error. Sth wrong with my variable

@Yoichi You are right. Sth wrong with my variable. Thank you for the headsup

Let me keep trying. Thank you

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