I’m on Excel Automation with Modern Experience in “Build Automation using Excel Modern Activities”, I’m following along with the demo but when using the reference name in the Use Excel File activities “MonthReport” I am only able to use it once. The demo video uses it multiple times. What is the issue?
Could you clarify if you’re reinitializing the reference between uses? If you are, try keeping it within the same scope and see if that resolves the issue.
I fixed your bug.
sometimes is going wrong with UiPath here, I did a small hack , instaed of drag a new Use Excel Activity for MonthReport File, I just copied the one from acquisition and pasted it inside Use Sales Excel.
Everything explained in this loom video @wendy.xiong Loom Video explanation
Good luck
Scope of reference is within the use excel activity only.
Any name should be fine in reference provided you are using the same name within the use excel scope activity. It doesn’t make any difference even if you use difference reference name for the same file from different use excel scope
Hey @wendy.xiong the error you are getting because the variable(Reference) is already declared.so you cannot use the same reference in the Same workflow. because the reference is referred as your input file name.so same name cannot be used in two places.
cheers