Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel VBA macro crash

I've run into an annoying issue with an excel (2003) vba macro I've
created. When I run the macro and watch it run it performs great.
When I set it to run as a scheduled task and watch it run it is fine.
When it runs unattended, with the workstation locked it dies. Is there
any way to fix this?

thanks,
Patrick

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Excel VBA macro crash

What does it do? Are you using anything which might be affected by
the workstation being locked (no idea what sort of things might, but
maybe sendkeys perhaps?)

Tim.


"Patrick" wrote in message
ups.com...
I've run into an annoying issue with an excel (2003) vba macro I've
created. When I run the macro and watch it run it performs great.
When I set it to run as a scheduled task and watch it run it is
fine.
When it runs unattended, with the workstation locked it dies. Is
there
any way to fix this?

thanks,
Patrick



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel VBA macro crash

Yes, I am using send key in part of the macro. Need to triger and
login to a different program to iniatiate a download. So I take it
send key does not work on a locked workstation?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Excel VBA macro crash

"Patrick" < wrote in message
ups.com...
Yes, I am using send key in part of the macro. Need to triger and
login to a different program to iniatiate a download. So I take it
send key does not work on a locked workstation?


I have no idea, but it seemed to me like a reasonable thing to test....

"different progam" is what? Browser-based application? If so, are the
login fields on the page or in a dialog box?

If on the page, you should be able to automate IE directly to populate the
values without using sendkeys.

Tim.

--
Tim Williams
Palo Alto, CA



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel VBA macro crash

The other program I'm launching is a fat client for our trouble ticket
system (Remedy).



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
Why does this macro crash? Brian Excel Discussion (Misc queries) 6 May 11th 08 08:46 PM
Excel 2007 crash when trying to add macro button to QAT Ron Excel Discussion (Misc queries) 2 August 17th 07 10:53 PM
Fixing a Macro-related Crash in Excel Danimagus[_5_] Excel Programming 1 June 6th 05 06:37 PM
Macro causes Excel to crash Edgar Thoemmes[_4_] Excel Programming 3 October 29th 04 05:17 PM
Excel crash when running macro Eamonn Excel Programming 4 September 22nd 04 08:05 AM


All times are GMT +1. The time now is 03:56 PM.

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"