it run locally but not remotely, have you tried passing it your Username 
and Password, 
Also did you verify that all path's are absolute and present on the remote 
machine as well


On Tuesday, January 10, 2012 10:06:54 PM UTC-7, The Muns wrote:
>
> I'm calling a bat file using psExec from one 2008r2 server to another. 
>
> The bat file calls a VBS file that creates a excel file and saves the 
> file in the same location as the VBS file. 
>
> This all works when run locally, but remote using psExec the vbs file 
> won't save the excel file. 
>
> 11/01/2012 2:20:35 PM        OK: Saving file 
> daily_extract_report_2012011018Feck.xls 
> 11/01/2012 2:20:35 PM        OK: Get Arguments 
> 11/01/2012 2:20:36 PM        ERROR: Finished Creating Excel file 
>         Err.Number: 3EC 
>         Err.Description: SaveAs method of Workbook class failed 
>         Err.Source: Microsoft Office Excel 
>
> I've tried every thing I can think of, so any suggestions appreciated. 
>
>

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to