Saving variables in XLA's

P

Paul

I have written code for a userform to be displayed and
give the user the ability to change values by having the
text boxes reference a cell in a work sheet.

The issue I have is that when I save file as an XLA it
modifies the variables while the XLA is running yet it
does not save the new variables if I close and reload the
XLA.

Can this be done without having to create an external
data variable file to be read by the XLA?
 
T

Tom Ogilvy

there is no implicit ability to save variables. You would need to record
the values some place and make sure they were saved with the file, then
retrieve the saved values when appropriate.
 
D

Dave Peterson

You have to store them somewhere.

You could use a worksheet in the addin and save the addin when that stuff
changes.

You could use that external file.

you could use the windows registry.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top