Excel Auto_Open macro and system resources error message :: MrExcel Message Board


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

Excel Auto_Open macro and system resources error message
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

davenpmr
Welcome to the Board


Joined: 26 Nov 2002
Posts: 2


Status: Offline

 Reply with quote  

I am trying to run an Excel AutoOpen macro using Excel 2002 and Windows XP. When I try to use task scheduler to execute a dos batch command to open the Excel file and have it run the macro code the procedure works fine except for when the machine is under the windows password screen saver mode. I need to run the code at night and leave the machine up and running with the password protection enabled. I get a message of "Not enough system resources to display completely". As soon as you click the OK button the thing runs. Is there a way to stop this error message? I have found that I can run an Access macro that kicks off the same Excel macro and it works OK so I doubt that the problem is a system resource. I would like to avoid the extra Access step if I could to get this to run.

Post Tue Nov 26, 2002 7:40 pm 
 View user's profile Send private message

Dreamboat
anne@MrExcel


Joined: 19 Feb 2002
Posts: 1056
Location: Southeastern Pennsylvania
Flag: Usa

Status: Offline

 Reply with quote  

Can't you use the

Application.DisplayAlerts = False

and then =True after the code is complete.

Post Tue Nov 26, 2002 7:50 pm 
 View user's profile Send private message Send e-mail

davenpmr
Welcome to the Board


Joined: 26 Nov 2002
Posts: 2


Status: Offline

 Reply with quote  

I already tried placing that in the first part of the macro but it doesn't stop this particular message.

Post Tue Nov 26, 2002 8:03 pm 
 View user's profile Send private message
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.