Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Addcolumns (columnname + i) with names depending on variable

Greetings, 

I mtrying to create a function that adds columns based on the numbers available in the column "Chronologie", the problem is that ADDCOLUMNS  does not accept my variable , and I have this error : ADDCOLUMNS  needs a name as an argument number 2.

 

As a result I want to have these columns 

 " Date soumission + VAR Listechronologie" : "Date soumission 1" , "Date soumission 2" ....

You ll find a screenshot with the optimized code with the error and the "step by step" code but working.

Thanks in advance

 

This is the code that I wrote:

 

 

 

amitchandak Greg_Deckler 

1 Reply