create a "text file" with the content of a variable and open the file once the button has been clicked.
The variable contains static text plus two other variables.
I'm already struggling with outputting the actual values the variable holds inside a macro message box.
vtest = 1+1
set vCheck = ActiveDocument.Variables("vTest")
This outputs 1+1 but how can I get it to output the result of 2 (like with the dollar sign expansion)?
Once this is solved how can write the content of the variable to a .customExtension file and execute the file to trigger the default program? Could this be some temporary file that is only used in memory or do I have to write it to a path?