Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 310
Default Cannot find . which has been assigned to run eah time . is closed

I keep getting the following message when I try to close a file

"Cannot find 'C:\Program Files\Microsoft
Office\Office11\Library\adaytum.xla'!AdaytumSheetC lose, which has been
assigned to run each time [filename] is closed. Continuing could cause
errors. Cancel closing [filename]?

I never set up any kind of file to run when closing? I did originally
receive this file from someone else. How can I remove this so I don't get
this message everytime I close the file?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default Cannot find . which has been assigned to run eah time . is closed

Open your VB editor, Alt + F11, and right click on ThisWorkbook in the upper
left small window. Select View Code from the drop down menu and look for a
code procedure that begins with Private Sub Workbook_BeforeColse(). See if
that code contains the refenced files in the error message. If it does,
make sure it does not affect the rest of the workbook if it is deleted and
then delete it. Before you delete it, copy it to Notepad so that if your
file does not operate properly after you delete it, you can put it back in.


"Michelle" wrote in message
...
I keep getting the following message when I try to close a file

"Cannot find 'C:\Program Files\Microsoft
Office\Office11\Library\adaytum.xla'!AdaytumSheetC lose, which has been
assigned to run each time [filename] is closed. Continuing could cause
errors. Cancel closing [filename]?

I never set up any kind of file to run when closing? I did originally
receive this file from someone else. How can I remove this so I don't get
this message everytime I close the file?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Cannot find . which has been assigned to run eah time . is clo

Thanks for your response. When I open VB editor and look for the code
procedure Private Sub Workbook_BeforeColse(), it's not there. The "Private
Sub Workbook_BeforeColse()" is there, but the () are blank, there is no
reference to the mentioned file.

"JLGWhiz" wrote:

Open your VB editor, Alt + F11, and right click on ThisWorkbook in the upper
left small window. Select View Code from the drop down menu and look for a
code procedure that begins with Private Sub Workbook_BeforeColse(). See if
that code contains the refenced files in the error message. If it does,
make sure it does not affect the rest of the workbook if it is deleted and
then delete it. Before you delete it, copy it to Notepad so that if your
file does not operate properly after you delete it, you can put it back in.


"Michelle" wrote in message
...
I keep getting the following message when I try to close a file

"Cannot find 'C:\Program Files\Microsoft
Office\Office11\Library\adaytum.xla'!AdaytumSheetC lose, which has been
assigned to run each time [filename] is closed. Continuing could cause
errors. Cancel closing [filename]?

I never set up any kind of file to run when closing? I did originally
receive this file from someone else. How can I remove this so I don't get
this message everytime I close the file?




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
Cannot find . which has been assigned to run each time . is close mmkathan Excel Discussion (Misc queries) 0 April 28th 09 04:36 PM
verify use of TIME Function, Find Quantity Level compare to time-d nastech Excel Discussion (Misc queries) 9 July 11th 07 01:58 PM
Formula to find Stop Time from Start Time and Total Minutes Jonathan Bickett Excel Worksheet Functions 5 March 7th 07 05:22 PM
Find values in a closed excel workbook. Sjakkie Excel Programming 1 February 27th 07 02:28 PM
find in closed workbook marko Excel Programming 0 November 25th 03 12:52 PM


All times are GMT +1. The time now is 02:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"