LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Same name macros - One in XLA and the other in COM AddIn

Hi,

I have created a COM addin for Excel 2003 using C#. I have an
automation addin class built into this addin that is displayed in the
Tools AddIns dialog. The automation addin contains some custom
methods like ISVALID(...)

The problem is that a separate XLA file loads with the addin and it
has the same method inside it (ISVALID(..)). In the Insert Function
dialog I have two different categories of functions "V11 Functions"
and "V12 Functions" but both have the same function names. Now when I
insert a function by typing its name in the cell (=ISVALID(B2)) it
picks it from "V11 Functions". I have to manually type
"=V12FunctionsProgID.ISVALID(B2)" to call in from "V12 Functions"
category.

Is there a way to rectify this problem by setting a preference on
which category will be used OR by inserting the functions with FULL
NAME (with ProgID)? If I insert using FULLNAME it works but changes to
short name automatically when I press enter. If again I press F2 in
cell and press enter it takes the V11 one.

Any help will be greatly appreciated

Thanks
Abhimanyu

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
setup project for Excel addin, won't register addin Gerry Excel Programming 0 October 31st 07 12:01 AM
Using an excel addin to call macros in current sheet. [email protected] Excel Programming 0 April 17th 07 09:08 AM
Problems calling macros in addin from within macros Andibevan[_4_] Excel Programming 2 August 16th 05 09:29 AM
Display macros in addin Claude Excel Programming 1 February 23rd 05 12:27 PM
Problem with calling addin macros in ExcelXP wojtek Excel Programming 2 November 9th 04 11:44 PM


All times are GMT +1. The time now is 09:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"