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: 3
Default Automation Add In, functions parameters as Range

I have created a function library in VB.Net and C# like described here :
http://www.cpearson.com/Excel/Creati...nctionLib.aspx

But i have a problem with function prameters. I can call the function like
"=DivideBy2(10)" in a Cell and it is ok. if i call the function with a cell
parameter like "=DivideBy2(A1)", it says "#VALUE!". I located a breakpoint
and look for the prameter value, so the prameter is a System.__ComObject
object with null value..

I have:
Visual studio 2005 with VSTO 2005 SE
Windows XP German
Office 2007 English

How can i solve this problem?
Any idea?
 
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
using functions as parameters Syz Excel Programming 0 July 27th 04 08:52 PM
Problem with optional parameters in Excel Automation Add-in worksheet function Mike Gilkeson Excel Programming 0 February 18th 04 02:13 PM
XLL Functions with no parameters Will[_7_] Excel Programming 0 February 16th 04 05:41 PM
RP - Office 2000 automation parameters Access and excel Matt. Excel Programming 5 December 16th 03 07:55 PM
Office 2000: excel to access automation and parameters Matt. Excel Programming 0 December 15th 03 09:33 PM


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