What's this new sheet?

A

Adrian D. Bailey

I have a large suite of workbooks with multiple sheets and macros, basically
all working, but.....

Some of the macros take a long time, and involve loops etc. I have arranged
for most of my macros to write to the Status bar to keep me informed of
progress.
This was written in XL2000, and worked just fine.
Now I've upgraded to XL2003, and whilst the macros works, some strange new
things are happening!
At some point during execution - and it's not always the same point - a new
sheet appears minimized on the taskbar. The icon on the active window (at
the top left of the window) changes to a plain white recangle, and the
status bar stops updating. When execution concludes the new window closes,
the proper XL icon returns, and the status bar clears (as it should because
I've written that into my macro).
If I hover the mouse over the new window on the task bar, the tooltip tells
me that it has the same name as one of the other already-open workbooks.
Dependent on which of my macros is running and/or which of my books is the
active book, different duplicate books are opened.

What's going on? And how might I stop it?
--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
(e-mail address removed) Tel: 01509 223007 Fax: 01509 223940

Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263
--
 
T

Tom Ogilvy

You can't open a duplicate workbook in the same instance of Excel - two
separate workbooks can not have the same name. It sounds like you might be
doing the equivalent of a Window =>new.
 
D

Dave Peterson

Oooh. Good guess.

And to the Original Poster:

And it may be that on the older version of xl, you had
Tools|Options|view tab|Windows in taskbar unchecked.

And in the newer version, that option is checked.
 
A

Adrian D. Bailey

I'm not opening any new windows... but its happening nonetheless!
That's the whole point of my posting.

This happens on lots of my macros.
Some of my macros create new files (mostly text files, in fact HTML) but
others do not. Most of my macros refer to other workbooks that are already
open, but none of them open workbooks.

As for the windows having the same name - the tooltip on the "original" open
workbook shows just the filename eg. "registrations.xls" and the tooltip on
the "duplicate" reads "Microsoft Excel - registrations.xls". That is the
text that appears in the title bar of the already-open workbook.
--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
(e-mail address removed) Tel: 01509 223007 Fax: 01509 223940

Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263
--

Tom Ogilvy said:
You can't open a duplicate workbook in the same instance of Excel - two
separate workbooks can not have the same name. It sounds like you might
be doing the equivalent of a Window =>new.
 
A

Adrian D. Bailey

That is my preference - unchecking that will only change the layout of the
taskbar, not the fact that a new window has been opened.
i.e. instead of having five boxes on my taskbar and a sixth one being added,
I'll have one list with five entries which will change to six entries.

--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
(e-mail address removed) Tel: 01509 223007 Fax: 01509 223940

Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263
--
 
D

Dave Peterson

I don't have any guesses.

Adrian D. Bailey said:
That is my preference - unchecking that will only change the layout of the
taskbar, not the fact that a new window has been opened.
i.e. instead of having five boxes on my taskbar and a sixth one being added,
I'll have one list with five entries which will change to six entries.

--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
(e-mail address removed) Tel: 01509 223007 Fax: 01509 223940

Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263
--
 
C

CraiginNJ

I see exactly the same thing. My big spreadsheet goes into recalc mode
and for a number of seconds seems to spontaneously open another window
as part of its recalc effort, and then closes it before finishing.

I assumed it might relate to something like:
- caching the spreadsheet (even though I have ample memory for it)
- shared .xls needing to save some interim image during recalc
- something to do with being able to save "undo" information in
case you decide to undo
- references to other spreadsheets which, even when those .xls are
closed, can involve building a clone .xls with saved data from it so
that it can be used.

So I really don't have any idea what it is doing.

Craig in NJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top