Hi
I have a Macro that reads the content of a directory full of *imr's and creates Excel with Format output. The basic process works fine until there is a formatting error.
The Macro hangs on this statement..
objImpRep.ExportExcelWithFormat saveExl$
when run interactively, there would normally be a warning message dialog, asking if you wish to view the log. However, when run from Windows Scheduler the process freezes.
The log contains the following information.
1. Overlapping report object. Lower object in the report body cannot be generated. Position: 'List_Frame_1!X12' Contents: '0.00'
2. Overlapping report object. Lower object in the report body cannot be generated. Position: 'List_Frame_1!X23' Contents: '0.00'
Is there any way of trapping these errors, or ignoring the messages so that it doesn't hold up my entire reporting schedule?
Thanks in advance
I have a Macro that reads the content of a directory full of *imr's and creates Excel with Format output. The basic process works fine until there is a formatting error.
The Macro hangs on this statement..
objImpRep.ExportExcelWithFormat saveExl$
when run interactively, there would normally be a warning message dialog, asking if you wish to view the log. However, when run from Windows Scheduler the process freezes.
The log contains the following information.
1. Overlapping report object. Lower object in the report body cannot be generated. Position: 'List_Frame_1!X12' Contents: '0.00'
2. Overlapping report object. Lower object in the report body cannot be generated. Position: 'List_Frame_1!X23' Contents: '0.00'
Is there any way of trapping these errors, or ignoring the messages so that it doesn't hold up my entire reporting schedule?
Thanks in advance