Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
T G T G is offline
external usenet poster
 
Posts: 4
Default Calling XLA Macro from DLL.

I have a XLA Add-in that loads a XLL DLL using Microsoft Excel C API.

How can I call a Macro in the XLA file from the DLL?

I have tried to use the xlUDF function, but without success.

Anyone have suggestions on how I can proceed?

Thanks in advance /T
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Calling XLA Macro from DLL.

Hi

We have reviewed this issue and are currently researching on it. We will
update you ASAP. Thanks for your patience!

Kevin Yu
Microsoft Online Community Support
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 225
Default Calling XLA Macro from DLL.

Hi,

Since XLL CAPI is an old technology to extending Excel function.

Currently I am still trying to find the related document.
Also I will update you with new information ASAP.
Thanks!

Best regards,

Perter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 225
Default Calling XLA Macro from DLL.

Hi,

You may try the approach below.
1. Call Excel4() (or Excel12() if you're in Excel 2007) and invoke xlfRun.
2. For the 1st arg, pass in an XLOPER of xltypeStr that contains the
fully-qualified name of the macro you want to run.

Please let me know if that did not work for you together with the exact
error code/message or error scenario description.

Thanks!

Best regards,

Perter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

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
Calling a macro Otto Moehrbach Excel Programming 6 October 21st 06 10:14 PM
calling next macro Michelle Hanan Excel Programming 1 July 18th 06 06:17 PM
calling a macro jhahes[_25_] Excel Programming 6 August 4th 05 12:22 AM
Calling a macro from a key RWN Excel Programming 0 February 8th 05 05:19 AM
Calling macro in add-in. Clark B Excel Programming 1 July 24th 03 11:05 PM


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