Save User Data in My Add-In

anthonya2369

Active Member
Joined
Mar 10, 2005
Messages
321
I have developed an add-in that all my colleagues use. There are certain add-in features that I would like the users to be able to change. For example, I allow for a selection of cells and they can place the IfError formula into those selected cells. I have it default to the return value of 0 if there is an error. I want the user to be able to change the default value to soemthing other than 0 if they so choose. Where can I save this value so I can look it up later? I rather not create a text file and place it there or an .ini file but I guess I can do that. I was hoping to place it in the add-ins sheet page but the workbook doesn't show up under the workbooks section, just the add-ins portion. Just wanting to know what the standard is?

I have never used xml files for this but maybe this would be a considered approach and I can open my abilities more by learning?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
I think I figured it out. I will find out tomorrow. It has to be done like this:

Application.AddIns(8).Application.Worksheets("Sheet1").Range("a1").Value

I can choose any cell, I shall find out at work. I guess sometimes, it pays to play around and keep trying...
 
Upvote 0

Forum statistics

Threads
1,203,694
Messages
6,056,762
Members
444,890
Latest member
war24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top