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: 14
Default Excel tries to reopen the file

Hi,

On opening a file that includes an Auto_Open VBA procedure
(There is no Workbook_Open procedure), just before
finishing the procedure, or maybe just after, Excel tries
to reopen the file. Since I can see on screen that the
custom menu is loaded, I know it's at least very near the
end of the Auto_Open procedure.

Dialog box contents a
"Microsoft Excel" in dg box bar
'Filename' is already open. Reopening will cause any
changes you made to be discarded. Do you want to
reopen 'Filename'?
'YES' and 'NO' buttons at bottom

I 'NO' is chosen all works fine. If 'YES' is chosen, the
file is reopened, then all works fine. This only occurs
on the first opening; hence it's not a loop of continually
reopening.

This problem seems to only happen while using Windows
NT4.0 SP5 and Excel 2000. And, it happens if the file is
double clicked from within Windows Explorer. Opening
from the Excel 'Open' dialog box is no problem. A
shortcut pointed to just the file has the problem, but a
shortcut pointed first to Excel, then a space, and then
the file works fine.

I don't know if this is Windows, Excel, or the VBA
procedure. Any ideas.

Thanks,
Walt
 
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
Excel hyperlink to another open Excel file - wants to reopen file WJ Callaghan Excel Worksheet Functions 1 March 7th 09 03:56 PM
How do I find and reopen an excel file I created earlier? Happy Grandma Excel Discussion (Misc queries) 2 January 28th 09 10:56 PM
Hidden Tabs appear when I reopen the file Brenda Setting up and Configuration of Excel 11 October 24th 08 12:39 AM
keep getting a "REF" when i reopen a excel file that has formulas munnybunni New Users to Excel 1 May 1st 08 03:28 PM
Hyperlinks breaking when save/reopen file... taylorj Excel Discussion (Misc queries) 2 April 3rd 06 09:33 AM


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