PC Review


Reply
Thread Tools Rate Thread

Create Add-in

 
 
Fredrik E. Nilsen
Guest
Posts: n/a
 
      17th Dec 2006
I'm trying to create an add-in to distribute to several users. The
add-in is used to apply user-defined chart-settings to excisting
charts. I know how to create the code to apply the settings, to save
it as an add-in and to load from tools -> add-ins...

But: how can the user run the add-in?

--
Fredrik E. Nilsen
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      17th Dec 2006
They should store it in a directory, and then in Excel goto Tools>Addins,
hit the browse button and find the addin file, and open it there. The addin
will open with Excel each time from then on.

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Fredrik E. Nilsen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm trying to create an add-in to distribute to several users. The
> add-in is used to apply user-defined chart-settings to excisting
> charts. I know how to create the code to apply the settings, to save
> it as an add-in and to load from tools -> add-ins...
>
> But: how can the user run the add-in?
>
> --
> Fredrik E. Nilsen



 
Reply With Quote
 
Fredrik E. Nilsen
Guest
Posts: n/a
 
      17th Dec 2006
On Sun, 17 Dec 2006 02:04:10 -0000, "Bob Phillips" <(E-Mail Removed)>
wrote:

>They should store it in a directory, and then in Excel goto Tools>Addins,
>hit the browse button and find the addin file, and open it there. The addin
>will open with Excel each time from then on.


Yes, I know all that but how can they run it? The add-in is a simple
VBA-code to apply user-defined settings on a selected chart. They
select a chart and then....?

--
Fredrik E. Nilsen
 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      17th Dec 2006
You have to give them some interface to your subroutines.

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

"Fredrik E. Nilsen" wrote:
>
> I'm trying to create an add-in to distribute to several users. The
> add-in is used to apply user-defined chart-settings to excisting
> charts. I know how to create the code to apply the settings, to save
> it as an add-in and to load from tools -> add-ins...
>
> But: how can the user run the add-in?
>
> --
> Fredrik E. Nilsen


--

Dave Peterson
 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      17th Dec 2006
then..........they click on a button you have provided or a shortcut key combo.

They cannot run from Tools>Macro>Macros because they won't see any add-in
macros.


Gord Dibben MS Excel MVP

On Sun, 17 Dec 2006 03:16:43 +0100, Fredrik E. Nilsen
<(E-Mail Removed)> wrote:

>On Sun, 17 Dec 2006 02:04:10 -0000, "Bob Phillips" <(E-Mail Removed)>
>wrote:
>
>>They should store it in a directory, and then in Excel goto Tools>Addins,
>>hit the browse button and find the addin file, and open it there. The addin
>>will open with Excel each time from then on.

>
>Yes, I know all that but how can they run it? The add-in is a simple
>VBA-code to apply user-defined settings on a selected chart. They
>select a chart and then....?


 
Reply With Quote
 
Fredrik E. Nilsen
Guest
Posts: n/a
 
      17th Dec 2006
On Sat, 16 Dec 2006 20:23:46 -0600, Dave Peterson
<(E-Mail Removed)> wrote:

>You have to give them some interface to your subroutines.
>
>For additions to the worksheet menu bar, I really like the way John Walkenbach
>does it in his menumaker workbook:
>http://j-walk.com/ss/excel/tips/tip53.htm
>
>Here's how I do it when I want a toolbar:
>http://www.contextures.com/xlToolbar02.html
>(from Debra Dalgleish's site)
>


Ah, fantastic! I have spendt hours trying to figure this out...

--
Fredrik E. Nilsen
 
Reply With Quote
 
Fredrik E. Nilsen
Guest
Posts: n/a
 
      17th Dec 2006
On Sat, 16 Dec 2006 18:27:49 -0800, Gord Dibben <gorddibbATshawDOTca>
wrote:

>then..........they click on a button you have provided or a shortcut key combo.
>
>They cannot run from Tools>Macro>Macros because they won't see any add-in
>macros.
>


Well, of course I have discovered that they can't run it from Tools ->
Macro. And you may have guessed that the question then is: How do I
provide a button to run it?

--
Fredrik E. Nilsen
 
Reply With Quote
 
ilia
Guest
Posts: n/a
 
      17th Dec 2006
ThisWorkbook.IsAddin = True

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a macro to create excel line graph with coloured pointers anddata lables anuj datta Microsoft Excel Charting 1 30th Sep 2009 04:04 PM
how to create an auto reply rule/macro that wont create a new mess squalltheonly Microsoft Outlook Discussion 4 15th Nov 2008 04:03 PM
reset button, create excel, import table, send e-mail, create back-up matthew nance Microsoft Access 0 27th Jul 2004 06:52 PM
Read Bitmap and create Method to Create Image at runtime Mark Johnson Microsoft Dot NET Framework 1 28th Nov 2003 08:26 PM
Create user on win2k domain does not create mailbox on ex2k server Jeff Howard Microsoft Windows 2000 0 1st Oct 2003 12:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:02 PM.