LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 414
Default Display.Alerts problem when I unlock my computer

Hi,
My macro below is working great, however, when I lock my computer using
CTRL-ALT-Delete and then unlock my compter my VBA Editor pops up.

Any ideas on why my Editor pops up every time I unlock my computer?

Thank you,

Sub Display()
Application.DisplayAlerts = False
ChDir "C:\Macros"
Workbooks.Open Filename:="T:\Macros\Macros.xls"
ActiveWindow.Close
Range("J23").Select
Application.DisplayAlerts = True

End Sub
 
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
Display Alerts scrabtree23[_3_] Excel Programming 4 August 12th 08 06:46 PM
Display size difference- PC computer vs. Mac computer? dk_ Excel Discussion (Misc queries) 1 October 17th 06 05:48 AM
Display Alerts Jason Zischke Excel Programming 1 March 7th 06 07:31 AM
Excel via intranet Display Alerts problem Sarah[_4_] Excel Programming 0 July 6th 04 04:35 PM
VB IDE always activated when I unlock my computer. Craig Jordan Excel Programming 0 May 3rd 04 08:23 PM


All times are GMT +1. The time now is 01:39 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"