How to make Excel Add-in worksheets viewable?

Asdf0qwerty

New Member
Joined
Jul 28, 2010
Messages
19
Hi everyone,

I have this user defined function (UDF) add-in (.xla) that has worksheets in it. How do I make these worksheets viewable in an Excel workbook so I could put values and make use of it? TIA
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I think you'll need to change the IsAddin property to False so that you can view and manipulate the worksheets in Excel - in the Immediate Window in the VBE type in (and press enter at the end):

Workbooks("YourAddinName.xla").IsAddin = False

this should make the sheets visible.

Change it back again to hide the worksheets.
 
Upvote 0
Why would youb want to do that? Addins are code applications, not data, so you shouldn't be storing user data in the worksheets. If you hold templates in the addin, just copy them to a user workbook.
 
Upvote 0
@xld : Thank you for your reply. The worksheets have values in them. Like I have a data table with values which are necessary for my add-in computations. I apologize, what do you mean by templates?
 
Upvote 0
Well, you can stiill use those values in the addin for your compujtations without making tyhe sheets visible (but don't reference them in formulae, very bad!).

By templates I mean proo-forma sheets that you might use often so you have a template rather than recreate each time.
 
Upvote 0

Forum statistics

Threads
1,223,604
Messages
6,173,316
Members
452,510
Latest member
RCan29

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