calling a template which has macro to open file and format t

ap1

New Member
Joined
Mar 11, 2002
Messages
26
Here is what i want to do:-
1. a query runs from mainframe thru DAF i can open c:MSOFFICEOFFICEEXCEL.EXE and creates mainframe.xls file in c:data
2. i want to use a template test1.xlt which i have stored in template folder. In this template i have written a macro which goes in c:data and opens mainframe.xls file and formats it.
i am not able to open this template by using this command

c:MSOFFICEOFFICEEXCEL.EXE /test1.xlt do u know how to open this template or any other method.
Thanks
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Basically i want to open a template from DAF which would format the xls sheet created by daf.
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,809
Members
449,048
Latest member
greyangel23

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