Run macro from the Windows right-click "Send To"

L33

Board Regular
Joined
Jul 2, 2008
Messages
108
Hi,

I have a file with a number of macros for data editing, formatting etc to create large Excel report. The first stage of this is always to pick a flat Excel data file to feed in to it from a simple file open dialog.

I would like to right-click on that data file in Windows Explorer and from the Send To menu select my macro-laden file to kick off the process that way.

Can anyone - if I've been clear enough here - give me a pointer as to how to go about doing this?


Thanks in advance.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi Matt,
Thanks for these links; I'll check them out.

But basically you reckon there's not really a way of launching a macro from outside Excel itself? My big macro template file takes data from a flat file, does some stuff, then outputs a PDF, and three or four smaller Excel files, saves the lot to a dynamically determined path, puts it all in a Zip, and then attaches that to an email ready to be furnished with an address before sending. It'd be nice to launch all that from a quick command outside of Excel - right-clicking the data file and using the Send To seemed like a good place for it.

Oh well.. I'll carry on doing it the "long" way round ;)
 
Upvote 0

Forum statistics

Threads
1,215,857
Messages
6,127,374
Members
449,382
Latest member
DonnaRisso

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top