Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 30th, 2008, 06:43 PM
Authorized User
 
Join Date: Sep 2007
Location: Carson City, NV, USA.
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.


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 04:35 AM
Macro KennethMungwira Access 1 June 13th, 2003 12:00 AM



All times are GMT -4. The time now is 11:55 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.