Solved

run a macro from within another macro

Posted on 2014-11-25
3
77 Views
Last Modified: 2014-11-25
I have looked through EE but cannot find the solution to my problem.

I have a Macro and at a certain point I need to open another file and run the macro that is in that file then come back to the initial Macro in the original file.

Obviously I can open the file ok but how do I call the macro that is in the file that I open?

The macro in the file I open is called cassDothe work.

Is this enough info to be able to assist me?

thanks
0
Comment
Question by:Jagwarman
  • 2
3 Comments
 
LVL 49

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 40464080
Hi,

pls try

Application.Run ("'Your File.xlsm'!cassDotheWork")

Regards
0
 

Author Comment

by:Jagwarman
ID: 40464163
Thanks Rgonzo that runs the Macro. Unfortunately it does not comeback to the original macro, is it possible to do that or not?

My original question was "open another file and run the macro that is in that file then come back to the initial Macro in the original file."
0
 

Author Comment

by:Jagwarman
ID: 40464179
Actually Rgonzo I can re-jig my original Macro so I can get away without coming back to the original.

Many thanks once again.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question