Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Scheduled task hanging

I have an application developed in VB6 that uses Excel
2002 to convert an Excel sheet to a CSV file.

The app should run unattended via a scheduled task on a
Windows 2000 server. If I run the app manually on the
server it works fine but if I try to run it via the
scheduled task it hangs.

Anyone an idea what this could cause?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Location: Portland, Oregon
Posts: 26
Default Scheduled task hanging

How does it hang or what does it hang on? Hmmm...bad choice of words....how
about this: How do you launch your Excel file? You should be doing it in this
format:
C:\Program Files\Microsoft Office\Office10\EXCEL.EXE yourExcelFile.xls
where yourExcelFile.xls is the complete path and filename of your Excel file.
What you are doing is providing the path to launch Excel, a space, then the
path to your workbook. The above path to Excel is the default install for
2002 on XP on my system; yours may be different so double-check.

--
Toby Erkson
Oregon, USA

"codemind" wrote in message
...
I have an application developed in VB6 that uses Excel
2002 to convert an Excel sheet to a CSV file.

The app should run unattended via a scheduled task on a
Windows 2000 server. If I run the app manually on the
server it works fine but if I try to run it via the
scheduled task it hangs.

Anyone an idea what this could cause?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Scheduled task hanging

I'm starting Excel via a VB app with the createobject
method.

-----Original Message-----
How does it hang or what does it hang on? Hmmm...bad

choice of words....how
about this: How do you launch your Excel file? You

should be doing it in this
format:
C:\Program Files\Microsoft Office\Office10\EXCEL.EXE

yourExcelFile.xls
where yourExcelFile.xls is the complete path and

filename of your Excel file.
What you are doing is providing the path to launch

Excel, a space, then the
path to your workbook. The above path to Excel is the

default install for
2002 on XP on my system; yours may be different so

double-check.

--
Toby Erkson
Oregon, USA

"codemind" wrote

in message
...
I have an application developed in VB6 that uses Excel
2002 to convert an Excel sheet to a CSV file.

The app should run unattended via a scheduled task on a
Windows 2000 server. If I run the app manually on the
server it works fine but if I try to run it via the
scheduled task it hangs.

Anyone an idea what this could cause?



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Location: Portland, Oregon
Posts: 26
Default Scheduled task hanging

Hmm, sorry, I don't have a solution :-(
--
Toby Erkson
Oregon, USA

"codemind" wrote in message
...
I'm starting Excel via a VB app with the createobject
method.

....


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
After Windows update scheduled task uses wrong version of Excel CharlesW Excel Discussion (Misc queries) 0 July 15th 09 04:53 PM
Run Excel macro from Scheduled Task coolthinking Excel Worksheet Functions 4 July 13th 09 03:35 PM
Trying to run a MSQuery from Excel as a Scheduled Task Doug Excel Discussion (Misc queries) 1 March 6th 09 06:01 PM
Pivot Table through Scheduled Task [email protected] Excel Discussion (Misc queries) 1 October 18th 05 09:27 AM
Scheduled Task Matt. Excel Programming 4 April 6th 04 03:07 PM


All times are GMT +1. The time now is 04:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"