Storing configuration data in XLA file

U

Unmesh

Hi,

I have created an Excel Workbook application using VBA UserForms. This
workbook has a sheet dedicated to store some configuration data
required for this application and a UserForm to change these
configuration settings.

I published this file as an Excel Add-In (.XLA). I faced issues when I
change this data it is saved for the session in which this data is
updated. However when I close Excel completely, these changes are
gone. I want to keep these changes in Add-In's Workbook.

I can do this with INI or XML; however I want to keep these changes in
to Add-In’s Workbook only.

Please advice.

Thanks in advance,
Unmesh
 
C

Charles Williams

Try ThisWorkbook.Save after making thed changes to the configuration sheet.


--
Charles Williams
Decision Models

Hi,

I have created an Excel Workbook application using VBA UserForms. This
workbook has a sheet dedicated to store some configuration data
required for this application and a UserForm to change these
configuration settings.

I published this file as an Excel Add-In (.XLA). I faced issues when I
change this data it is saved for the session in which this data is
updated. However when I close Excel completely, these changes are
gone. I want to keep these changes in Add-In's Workbook.

I can do this with INI or XML; however I want to keep these changes in
to Add-In’s Workbook only.

Please advice.

Thanks in advance,
Unmesh
 

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