Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Error when closing file

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.misc
external usenet poster
 
Posts: 7
Default Error when closing file

It sounds like the original person had the file setup to save a particular
way using VB scripting/Macros.

Go to:
TOOLS
MACRO|Visual Basic Editor

In the left side pane, find the name of the workbook. You may need to
expand it.
Under the name of the workbook, highlight "This Workbook" (May need to
double click on it)
In the right hand pane, you will see any macros/VB entries. If there aren't
any macros/VB, then you won't see anything.
May look like this:
Private Sub Workbook_BeforeClose(Cancel As Boolean)

End Sub

Highlight, delete and save the file. Make sure you aren't in need of
anything there. Usually a On C
Close and see what happens.
"mmkathan" wrote:

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.misc
external usenet poster
 
Posts: 4
Default Error when closing file

Thank you for your response. However, when I go into VB editor and delete

Private Sub Workbook_BeforeClose(Cancel As Boolean)

End Sub

Then save and close I get the same error message when closing. Also when I
go back into VB editor

Private Sub Workbook_BeforeClose(Cancel As Boolean)

End Sub

is still there?


"Charles Stover" wrote:

It sounds like the original person had the file setup to save a particular
way using VB scripting/Macros.

Go to:
TOOLS
MACRO|Visual Basic Editor

In the left side pane, find the name of the workbook. You may need to
expand it.
Under the name of the workbook, highlight "This Workbook" (May need to
double click on it)
In the right hand pane, you will see any macros/VB entries. If there aren't
any macros/VB, then you won't see anything.
May look like this:
Private Sub Workbook_BeforeClose(Cancel As Boolean)

End Sub

Highlight, delete and save the file. Make sure you aren't in need of
anything there. Usually a On C
Close and see what happens.
"mmkathan" wrote:

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
Error with closing the Excel file ss Excel Discussion (Misc queries) 18 March 17th 08 02:20 PM
How to skip the save file notoification on file closing? Dan Excel Worksheet Functions 1 August 19th 07 02:26 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
Error report closing excel Maz Excel Discussion (Misc queries) 0 September 30th 05 11:26 PM
Unexpected error message on closing an Excel file KG Excel Discussion (Misc queries) 1 March 21st 05 02:39 PM


All times are GMT +1. The time now is 10:22 AM.

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"