I have a variable (a name) declared in VBA how do I retrieve this name to put in a cell of an Excel spreadsheet (if possible via a formula) Thanks
I have a variable (a name) declared in VBA how do I retrieve this name to put in a cell of an Excel spreadsheet (if possible via a formula) Thanks
The value of a variable is destroyed after the execution of a function. To save the value it is necessary to allocate this value somewhere like for example in a cell while the code is still running.
Range("A1").Value = variavel