Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Autocompletion For UDFs?

I have VB Studio 2008 + Excel 2007 on my system. Any idea or source of
detailed info as to how to create a simple UDF like
=AddTwoNumbers(Number1,Number2) which after I create and install via an addin
would recognize the same in the excel like a native function. In other words,
I could be able to use the same in Conditional Formatting and the same
appears when I only insert an "=A" in a cell in the list of available
functions?

Have tried many sources and sites. The function is created like a simple
UDF, Auto mation AddIn but does not provide the facility of autocompletion
and / or being used in primitive features of Excel especially like
Conditional Formatting.
--
Thanx & Best Regards,

Faraz!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 99
Default Autocompletion For UDFs?

On May 24, 10:34*pm, Faraz Ahmed Qureshi
wrote:
I have VB Studio 2008 + Excel 2007 on my system. Any idea or source of
detailed info as to how to create a simple UDF like
=AddTwoNumbers(Number1,Number2) which after I create and install via an addin
would recognize the same in the excel like a native function. In other words,
I could be able to use the same in Conditional Formatting and the same
appears when I only insert an "=A" in a cell in the list of available
functions?

Have tried many sources and sites. The function is created like a simple
UDF, Auto mation AddIn but does not provide the facility of autocompletion
and / or being used in primitive features of Excel especially like
Conditional Formatting.
--
Thanx & Best Regards,

Faraz!


http://groups.google.com.au/group/mi...6f73d1361e002f
Try this link.
I think you need this.
And, as far as i know this site, its does not responses always to your
question.
Sometimes, what you write in the description matters if it is worth to
attract those who can give an idea.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Autocompletion For UDFs?

Not sure why but it doesn't seem to be possible to UDFs from an Automation
addin in CF formulas. I get "you cannot use references to other worksheets
for CF criteria" even if no other references are involved.

As for the autocomplete, I find if I use the Register method in this link
not only will you get the autocomplete list in 2007 (not earlier versions)
but also function descriptions

http://www.jkp-ads.com/articles/RegisterUDF01.asp

I think I and others have suggested that you look into this approach several
times. The demo is for use in a vba addin, bit with a bit of adapting it
will work in an automation addin.

Regards,
Peter T


"Faraz Ahmed Qureshi" wrote in
message ...
I have VB Studio 2008 + Excel 2007 on my system. Any idea or source of
detailed info as to how to create a simple UDF like
=AddTwoNumbers(Number1,Number2) which after I create and install via an
addin
would recognize the same in the excel like a native function. In other
words,
I could be able to use the same in Conditional Formatting and the same
appears when I only insert an "=A" in a cell in the list of available
functions?

Have tried many sources and sites. The function is created like a simple
UDF, Auto mation AddIn but does not provide the facility of autocompletion
and / or being used in primitive features of Excel especially like
Conditional Formatting.
--
Thanx & Best Regards,

Faraz!



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Autocompletion For UDFs?

No doubt the same file has been referred quite a lot of times however, the
problem is that what I require is a proper structure and knowledge of code
specially with respect to Visual Studio 2008 for an Excel Addin.

Thought that maybe I could overcome the limitation of use of UDFs in CF

--
Thanx anyway buddy,

Faraz!


"Peter T" wrote:

Not sure why but it doesn't seem to be possible to UDFs from an Automation
addin in CF formulas. I get "you cannot use references to other worksheets
for CF criteria" even if no other references are involved.

As for the autocomplete, I find if I use the Register method in this link
not only will you get the autocomplete list in 2007 (not earlier versions)
but also function descriptions

http://www.jkp-ads.com/articles/RegisterUDF01.asp

I think I and others have suggested that you look into this approach several
times. The demo is for use in a vba addin, bit with a bit of adapting it
will work in an automation addin.

Regards,
Peter T


"Faraz Ahmed Qureshi" wrote in
message ...
I have VB Studio 2008 + Excel 2007 on my system. Any idea or source of
detailed info as to how to create a simple UDF like
=AddTwoNumbers(Number1,Number2) which after I create and install via an
addin
would recognize the same in the excel like a native function. In other
words,
I could be able to use the same in Conditional Formatting and the same
appears when I only insert an "=A" in a cell in the list of available
functions?

Have tried many sources and sites. The function is created like a simple
UDF, Auto mation AddIn but does not provide the facility of autocompletion
and / or being used in primitive features of Excel especially like
Conditional Formatting.
--
Thanx & Best Regards,

Faraz!



.

Reply
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
AUTOCOMPLETION FOR UDFs Faraz A. Qureshi Excel Programming 3 December 26th 09 02:26 PM
UDFs in Excel VBAnewbie Excel Programming 6 August 11th 06 03:36 PM
UDFs DoctorG Excel Programming 3 July 5th 05 01:49 PM
'portable' UDFs??? whelanj[_7_] Excel Programming 1 July 9th 04 01:13 PM
autocompletion of cell input based on databse list Pal Excel Programming 1 February 27th 04 04:33 AM


All times are GMT +1. The time now is 10:28 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"