Declaration in javascript

How to declare a value which is coming from excel into excute javascript.

var departmentExcel=dep;

here dep comes from excel

but i get as “unknown error :dep is not defined” even though dep is declared .

Thanks in advance

Hi,

Are you using excel loop to get value of dep. If yes then dep is an argument. Select dep and right click. You will get the list of arguments. replace it.

Format is like this : #<argumentname>#

Regards,
Amit

1 Like

Thanks Amit :slight_smile: