![]() |
Able to preserve value of variable after closing excel?
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... -- JNW |
Able to preserve value of variable after closing excel?
Yeah, you can save the value in a cell of a sheet and hide the sheet. That's
it, woot. "JNW" wrote: 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... -- JNW |
Able to preserve value of variable after closing excel?
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) "JNW" wrote in message ... 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... -- JNW |
All times are GMT +1. The time now is 04:23 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com