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: 1,236
Default Never show User Defined Function Qualifier

Hi!

I'm getting a strange behaviour which I would like to know how to
workaround.

New Workbook
Add a module
New Function:
Public Function MyTest(abc As String) As String
MyTest = "Hello!"
End Function

ThisWorkbook.AddIn = True
Save the Workbook as C:\MyAddIn.xla
Close Excel
Open Excel
Tools | Addins | Browse for MyAddIn.xla

New Workbook
In A1:
=MyTest("Greetings")
(A1 should now have a value of Hello!
Save this Workbook as C:\Book1.xls
Close Excel
Open C:\Book1.xls

The Formula in A1 now reads:
=MyAddIn.xla!MyTest("Greetings")


How can I make it never put a qualifier in front, like XLLs behave?


A second question.
Now that I'm using the UDF from the xla, an entry shows up under Edit |
Links.
If I move Book1.xls to another drive letter, then the link breaks.


Any solutions would be gratefully accepted.


Rob



 
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
user defined function tom_mcd Excel Worksheet Functions 1 January 6th 09 06:23 PM
User Defined function - Help makulski Excel Worksheet Functions 8 February 27th 08 09:44 PM
User defined function linzhang426 New Users to Excel 4 October 10th 05 03:18 PM
User-defined function PierreL Excel Worksheet Functions 4 December 23rd 04 09:16 AM
User-Defined Function pre-empting Built-in Function? How to undo???? MarWun Excel Programming 1 August 6th 03 09:31 PM


All times are GMT +1. The time now is 01:29 PM.

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"