Able to preserve value of variable after closing excel?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to have a detail page (on a userform) appear upon opening an
add-in for the first time, but then the user can check a box on the form to
not have it show again.

Is there a way to preserve the value of a variable after excel is closed?

Thanks...
 
You can save it in the Registry. See help for SaveSetting and GetSetting.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)
 

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

Back
Top