Focal Point
Executing excel macro after Fex

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3581078991

December 05, 2006, 02:48 PM
.eric
Executing excel macro after Fex
Since there is no simple way to create compound excel reports using excel templates (outside of using HOLD files for each)...I created a seperate excel sheet that uses an auto_open macro which takes the compound report that I generate in exl2k and formats each worksheet.

The problem I am having is that I cannot figure out how to execute this excel file to create the formatted excel file.
I tried using a simple dos command to open the excel file, and I even tried creating a .bat file to open that excel file but neither are working. I know I am using the DOS commands properly because I tried to just copy the excel file to a different location and that works fine.

Suggestions?

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
December 05, 2006, 03:44 PM
.eric
Nevermind I figured it out, I just created a scheduled task for the batch file and then I'm having WebFocus execute that batch file through a DOS command in a .fex.

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat