attaching toolbar to add-inn without using code?

  • Thread starter Thread starter JB
  • Start date Start date
J

JB

Is there anyway of attaching a toolbar to an .xla without
using code?

I am not a programmer.



Subject: Re: Can I attach a toolbar to an add-in?
From: "Tom Ogilvy" <[email protected]> Sent: 8/17/2004
8:18:24 AM



instead of attaching your toolbar, create it with code in
your xla. At that
time you can assign your macros and they will point to the
xla.

Here is an article about creating commandbars with code:
http://msdn.microsoft.com/library/techart/ofcmdbar.htm

I guess as an alternative, you could attach your toolbar
and then have you
code go through and assign the correct macro to the
onaction property of
each control. This would be done in the open event of the
XLA so it occurs
when the XLA is loaded.
 

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