Hello I have been having a lot of problems running a basic macro via a uproc in Dollar Universe.
there is an exting disccussion thread that is very similar to this:
[url="
http://www.orsypforum.com/index.php?showtopic=2860&hl=+excel%20+macro#entry9463"]
http://www.orsypforum.com/index.php?showtopic=2860&hl=+excel%20+macro#entry9463[/url]
I have tried this solution but still can't get it to work.
Just to summarise the details:
I have an macro excel macro that I want to be able to run via Dollar Universe as proof of concept.
This macro is called via a VB script similar to that described in the above link.
The VB script command is run from a command script - similar to that described in the above link.
If I run this from the command line it works fine.
At this point, I would try and run this command script via Dollar Universe.
I we get the following error:
C00-SUPPORT-SITE DEBUT
C00-SUPPORT-SITE WSPGM-CODNOEUD DCTWVJMAN05
_!================================================
_!**
$!** PROCEDURE .. : MACRO RUN
$!** VERSION .....: 001
$!** EXECUTION .. : 0000069
_!**
$!** SESSION .... : MACRO SESSION
$!** VERSION .... : 001
$!** EXECUTION .. : 0000001
_!**
_!** PROCESS DATE : 02/27/2013
_!**
_!------------------------------------------------
$!** PARAMETERS. : None
_!------------------------------------------------
_!** VARIABLES
_!================================================
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
XLRunMacro.vbs started at 11/03/2013 11:22:17
Starting Excel...
Opening file [C:\Applications\Test2.xls]...
ERROR: Microsoft Office Excel: 1004 - Microsoft Office Excel cannot access the file 'C:\Applications\Test2.xls'. There are several possible reasons:
The file name or path does not exist.
The file is being used by another program.
The workbook you are trying to save has the same name as a currently open workbook.
XLRunMacro.vbs stopped at 11/03/2013 11:22:19
I also tried the runas command but via Dollar Univers I keep getting prompted for a password.
Again, this is fine from the command line.
Regards.
Masum Khan