Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 30th, 2008, 06:43 PM
Authorized User
 
Join Date: Sep 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default calling to xlam macro from macro inside xlsb

Hi all.
I just finished a macro that is located in my xlsb file- Macro1.
I now have need to call to a macro located in my xlam file (MacroB), from Macro1. I've set MacroB(Optional Control As IRibbonControl) so it can be accessed from other macros within my xlam file.

I've tried
call pathname\MyXlam.xlam!MacroB
application.run (pathname\MyXlam.xlam!MacroB)
     " " "pathname\MyXlam.xlam!MacroB"
and none of these work.

Is there a way to call an xlam macro from an xlsb file?
Thank you.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling VBA macro with Applescript error happyman99 Access VBA 0 October 17th, 2005 11:56 AM
Outlook macro Russ Thompson Beginning VB 6 0 October 20th, 2004 01:02 PM
Macro Help! Jolin VB How-To 0 April 22nd, 2004 08:38 AM
C# Macro Editor ? kishore_peddi C# 0 October 30th, 2003 05:35 AM
Macro KennethMungwira Access 1 June 13th, 2003 12:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.