|
-
April 15th, 2004, 04:38 AM
#1
Calline function in Excel - No Return?
Hello,
I call a function in a excelsheet by ole like that:
COleVariant varReturn = app.Run(COleVariant(COleVariant((LPCTSTR) strMakro)), var1, covOptional, ...);
After the call the varReturn is always empty, but in the function something is returned. Also the var1 is not changed but defined as ByRef in the function.
Whats the problem?
Thanks
Michael
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|