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: 1
Default Code not executing

I'm wondering if anybody has come accros a problem similar to this.


I have a workook which when it opens begins an automatic updat
process. When the process is complete the workbook is to close.
However, in the code in the close event it won't executet he code.
There are no errors the code just doesn't perform.

For example the one line of code is Me.Save. The workbook doe
nothing. Now if I insert a Cancel = True, then abort the code, an
then close the workbook manually when I step through the cod
everything works perfectly.


I use a OLE object and I'm wondering if that could be the cause.
However, I use the same object in other books without issue. Ha
anybody ever seen this problem and it's cause

--
Message posted from http://www.ExcelForum.com

 
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
QUERY & HELP: so slow executing VBA code... :S John Keith Excel Worksheet Functions 3 February 13th 06 03:47 PM
WorkbookOpen code not executing properly SK Excel Programming 0 April 21st 04 04:09 PM
(trying again...) code stops executing Mark Kubicki Excel Programming 0 December 4th 03 02:00 PM
VBA code stops executing Mark Kubicki Excel Programming 0 December 3rd 03 06:47 PM
Code Changes Not Executing Justin[_8_] Excel Programming 1 October 24th 03 02:31 AM


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