PC Review


Reply
Thread Tools Rate Thread

Application.Run (WorkBook.Name & "!MacroName")

 
 
Marve
Guest
Posts: n/a
 
      20th Oct 2006
Hello,

I hope you could help me with my recent problem... I'm running a vbcode
form from my Personal.xls and trying to access a macro from another
workbook but I can't open/run the macro... I'm getting error "The macro
.......... can't be found" The macro though exists on the other workbook
I'm trying to run the macro from... Please help

Thanks

 
Reply With Quote
 
 
 
 
Ken Puls
Guest
Posts: n/a
 
      20th Oct 2006
Try:

Application.Run ("'" & WorkBook.Name & "'!MacroName")

HTH,

Ken Puls, CMA, Microsoft MVP (Excel)
www.excelguru.ca

Marve wrote:
> Hello,
>
> I hope you could help me with my recent problem... I'm running a vbcode
> form from my Personal.xls and trying to access a macro from another
> workbook but I can't open/run the macro... I'm getting error "The macro
> ......... can't be found" The macro though exists on the other workbook
> I'm trying to run the macro from... Please help
>
> Thanks
>

 
Reply With Quote
 
Marve
Guest
Posts: n/a
 
      23rd Oct 2006
Hi Ken,

It Works!!!! Thanks a lot for the help! I really appreciate it..

Cheers,
Marve

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application.Run "[TemplateName].[ModuleName].[MacroName] greg Microsoft Excel Programming 3 30th Jul 2008 07:52 PM
Need help turning Macro Workbook into "Application" I can sell. MikeDd Microsoft Excel Programming 3 23rd Jul 2008 06:24 AM
Application.Run("MacroName", Args) Abraham Andres Luna Microsoft Excel Programming 2 23rd Jan 2006 07:05 PM
GPO only applies to "security" and "application management" and not "registry" and "efs" Jacques Koorts Microsoft Windows 2000 Group Policy 0 25th Jun 2004 01:49 PM
Application popup: Explorer.EXE - Application Error : The instruction at "0x77f57ec4" referenced memory at "0x00000067". The memory could not be "written". Max Windows XP General 3 18th Dec 2003 05:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:09 PM.