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: 15
Default xllRegister method

hi. I'm still trying to use xll files to be able to use c++ code for custom
excel functions. No one seems to be fielding these questions, but I thought
I'd try again. I'm trying to use the xllregister method in vba to call
functions in an xll file. here is the code:

sub main()
Application.registerxll "filename.xll"
Dim c As integer
c = AddTwo(8,9)
....
End Sub

I get an error message "sub or function not defined"
The addtwo function from my xll works fine when used in excel. Any
thoughts? I'm pretty much out of my league at this point, but I have to get
this done for work. Pls help.
 
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
Please post this thread a correct full method, method about Nast Runsome New Users to Excel 8 February 25th 08 03:29 PM
Please post this thread a complete correct method, method about te Nast Runsome New Users to Excel 0 February 23rd 08 09:42 PM
Another Method or 2? JMay Excel Discussion (Misc queries) 9 February 9th 07 08:11 PM
GetObject method not work after Call Shell Method ben Excel Programming 8 February 21st 06 03:45 PM
Why QUIT method doesn't work after COPY method? surotkin Excel Programming 3 October 26th 05 04:32 PM


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