Presto - Excel Vanishes from the taskbar, but is still open. Why did it disappear?

B

Brandon

I have a rather large spreadsheet (huge model) that reads and writes
from dozens of other files - and shortly after it opens, it will
disappear from the taskbar at the bottom of the screen. Excel is still
open, but just not accessible from the toolbar - you have to press
Alt-Tab and pick the right Excel icon to get to it.

Most users are running Windows XP (some on 2000), and all are using
Office XP with SP 2 or 3.

I am thinking I have done one of a few dangerous things (I can't paste
the program logic, because it is over 9,000 lines, and I don't know
where it is happening):

Closing these miscellaneous files after I have read the data with
ActiveWorkbook.Close

I open 3 files - one is used, the other two have values read by the
main file, so I hide them with statements like (parts file is a
variable with the name of a spreadsheet that stays open, program is the
name of the program that is running):
Windows(PartsFile).Activate
Windows(PartsFile).Visible = False
Windows(Program).Activate

I added (if it would help)
Windows(Program).Visible = True
Sheets("Country").Visible = False

periodically, I will also turn on and off screen updating
(Application.ScreenUpdating = True/False)

Does anyone have any idea why Excel disappears? I have some new users
coming on board who are nervous about the screen disappearing, and
since they run the model 50 times a day, this is a major annoyance.

Thanks,
Brandon
 
B

bscarano

My first thought is to check the following:

Tools - Options - and under Show, make sure Windows in Taskbar is
checked. I don't know why it happens, but that was an issue I
constantly had to deal with.

Brendon
 
B

Brandon

Brendon,

Thanks for the thought. I double-checked the view panel, and I do have
"Show Windows in Taskbar" checked.

My thought is that it is VBA - if you saw how many screens and files
get opened and hidden, and files get activated and closed, that my
guess is that some sequence breaks Excel somehow. I am hoping that
someone had a similar problem.

Thanks,
Brandon
 

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

Top