Detect if a command bar is enabled in View->Toolbars

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

Guest

Hi Gang,

I have an application that I

1. Check to see if a toobar exists, and if it does, delete it
2. Create the tool Bar.

I would like to check to see if the user has enabled the tool par (i.e.
persist state
and honor on re-start).

So, I can see where my aproach in 1 & 2 is a problem (how can you persist if
you
delete?).

Does anyone have any suggestions. My desire is to:

1. After Wise install (i.e. my .xla file is installed in XLSTART) have the
toolbar
installed and visible.
2. When the user enteres and selected visible (check) or non-visible (uncheck)
persist this for the next time Excel is opened.

Thanks,

Dave
 
From Help

This example displays the status of the Analysis ToolPak add-in. Note that the string used as the index to the AddIns collection is
the title of the add-in, not the add-in's file name.

If AddIns("Analysis ToolPak").Installed = True Then
MsgBox "Analysis ToolPak add-in is installed"
Else
MsgBox "Analysis ToolPak add-in is not installed"
End If
 
Thanks Ron. That's not only way too simple, it's exactly what I was looking
for. I really appreciate your help

:)

Dave
 

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