Storing value of variable, rather than variable itself

So I have a macro that at the end will write to another CSV file. However, one of the CSV file fields displays the name of the variable itself, rather than the value of the variable. How do I ensure that the CSV file saves the variable’s value?

Use ${variablename} (the ${...} are important)

Hey, I tried this, but now it’s just printing out literally {variablename}, instead of the actual value. Is it perhaps because my variable has a leading ?

It seems you forgot the ${varname} :wink:

Your screenshot:

Ouch - I just saw my error :frowning:

No problem, that still happens to me once in a while as well :wink: