Hello everyone,
I'm trying to execute an Excel report macro by using the following:
ole1.application.run ("'" + ls_reportInPath + "'!" + ls_macroname, ls_name, ls_startdate)
where ls_name and ls_startdate are parameters to the macro.
ls_reportInPath is my Excel report complete with path.
I get an exception raised. Can anyone offer a suggestion?
Thanks!
I'm trying to execute an Excel report macro by using the following:
ole1.application.run ("'" + ls_reportInPath + "'!" + ls_macroname, ls_name, ls_startdate)
where ls_name and ls_startdate are parameters to the macro.
ls_reportInPath is my Excel report complete with path.
I get an exception raised. Can anyone offer a suggestion?
Thanks!