Excel program hangs overnight

I have a Excel/VBA program that updates items at our Amazon store.  Works find, but because it takes so long, I added an auto run feature.  I enter the time I wish it to run into a cell, then click a button that calls a Sub that sets the time.  Works great.  The problem is when I try to run it overnight.  It starts run at the exact time it is set to start, but when running it over night, it hangs at some point.  Normally it takes 3 hours to the whole process to complete.

Any suggestion for what might be causing it to hang overnight?
rrhandle8Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Is the worksheet local to the machine or on a network?  Please let us know.

If on a network, is there network downtime in the server profile, network backup, etc. ?  

Is the process running on Amazon Web Services?  or another server?  Please let us know.

If local, is there a backup running?  Yes / No ?

Any machine should run overnight, so there is probably a process stopping the run.
0
Martin LissOlder than dirtCommented:
If you are using a timer it will reset itself to zero at midnight.
0
rrhandle8Author Commented:
John,
It is running on a local pc.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

JohnBusiness Consultant (Owner)Commented:
In addition to Martin's suggestion on timers, look at Task Scheduler (Windows Admin Tools) and see what processes are kicking off overnight.

Is the computer set to suspend?
0
rrhandle8Author Commented:
Is there a log on the pc that will show me what processes ran overnight?  I think John's suggestion is correct.
0
Martin LissOlder than dirtCommented:
Do you have any ScreenSaver Power or Energy Saver settings set that would shut down your system at midnight?
0
rrhandle8Author Commented:
MartinLiss -- Yes I do.  I guess that is the first place to start.
0
JohnBusiness Consultant (Owner)Commented:
You can look in Windows Event Log, all processes and look starting at 11:50pm going forward into the next day.

Also look at Task Scheduler (where stuff like this originates).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rrhandle8Author Commented:
Thank you both.  Good suggestions!
0
JohnBusiness Consultant (Owner)Commented:
@rrhandle8  - You are very welcome and I was happy to help here.
0
Martin LissOlder than dirtCommented:
You're welcome and I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.