I have just written my first XLA application and installed it as an Excel Add-in. It works great (special thank you to AlphaFrog and Richard Schollar for putting me on Toolbars and Add-ins). I have a bunch of settings that I want to keep inbetween loading the XLA - so I have all these settings on a separate hidden sheet - on the data file that I open (XLSX) - in other words - not inside the XLA. I much rather have the settings sheet embedded into the XLA code. An example would be a Listbox.Index - so the same index is set if the add-in is used between loading up Excel - but I cannot figure out :
1) How to import a sheet into my XLA
2) Not sure how I would address the worksheet (after I have it inside my XLA) - do I reference it with a workbook and then worksheet type statement. This I most likely can figure out - If I can get the sheet into the XLA code
3) Is there something in VBA like a propertybag - or similar function that allow me store variables between loadings of Excel.
I am using 2007.
One option would be if I could save my XLA code as i.e. XLSM - but that does not seem to be possible either.
This forum is great - I am new here - but it is such a great source of info and inspiration - My wife done think so - heheheh
1) How to import a sheet into my XLA
2) Not sure how I would address the worksheet (after I have it inside my XLA) - do I reference it with a workbook and then worksheet type statement. This I most likely can figure out - If I can get the sheet into the XLA code
3) Is there something in VBA like a propertybag - or similar function that allow me store variables between loadings of Excel.
I am using 2007.
One option would be if I could save my XLA code as i.e. XLSM - but that does not seem to be possible either.
This forum is great - I am new here - but it is such a great source of info and inspiration - My wife done think so - heheheh