Solved

Get message about Book2 when saving Workspace

Posted on 2011-02-14
20
322 Views
Last Modified: 2012-05-11
I am using Excel 2003, File, Save Workspace for the first time.
I get asked "Do you want to save the changes you made to Book2?" even though I have no Book2 in the list of open files.

 Message about Book2 List of Open Files
0
Comment
Question by:Alex972
  • 9
  • 5
  • 2
  • +1
20 Comments
 
LVL 6

Expert Comment

by:FernandoFernandes
ID: 34890206
this is not the list of open files... the list of open files is under the Window menu, not the file menu.

can you please put on a picture of the Window menu ? and the VBA, please ! (Alt+F11)

Thanks,
0
 
LVL 6

Expert Comment

by:FernandoFernandes
ID: 34890217
wops... sorry... I just saw that you did it right already... my bad, ....
0
 

Author Comment

by:Alex972
ID: 34897308
I created three sample spreadsheets A, B, C and then a sample workspace ABC.
When I open ABC, it tells me there is a Book3 spreadsheet already open.


A.xls
0
 

Author Comment

by:Alex972
ID: 34897313
0
 

Author Comment

by:Alex972
ID: 34897318
0
 

Author Comment

by:Alex972
ID: 34897327
0
 

Author Comment

by:Alex972
ID: 34897336
0
 

Author Comment

by:Alex972
ID: 34897345
0
 

Author Comment

by:Alex972
ID: 34897350
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 41

Expert Comment

by:dlmille
ID: 34918871
Re: Your 34897327 comment and picture.  What happens when you select "Unhide"?

Dave
0
 
LVL 41

Expert Comment

by:dlmille
ID: 34919130
I was able to create a workspace with the 3 files and then open that workspace with no problem.  Check your XLSTART folder to see if some file isn't loading hidden inadvertently.  When you unhide, do you see other workbooks there?

Run this macro (attached) and let me know the results

it simple macro to enumerate all open workbooks and identify any that are not visible with capability to change visible to TRUE

Dave
InformOpenXLS.xls
0
 
LVL 41

Accepted Solution

by:
dlmille earned 500 total points
ID: 34919144
The code in the attachment, is below.

Hope this helps!

Dave
Sub InformAllOpenXLS()
Dim myWorkbook As Workbook

    For Each myWorkbook In Application.Workbooks
        Debug.Print myWorkbook.Name, "Visible? " & Windows(myWorkbook.Name).Visible
        
        If Windows(myWorkbook.Name).Visible = False Then
            xmsg = MsgBox("Open Workbook " & i & ": " & myWorkbook.Name & " - Visble? " & Windows(myWorkbook.Name).Visible & "   Hit OK to make it Visible, Cancel to Ignore", vbOKCancel, "THIS WORKBOOK IS NOT VISIBLE - HIT OK to Make VISIBLE")
            If xmsg = vbOK Then
                Windows(myWorkbook.Name).Visible = True
            End If
        Else
            xmsg = MsgBox("Open Workbook " & i & ": " & myWorkbook.Name & " - Visble? " & Windows(myWorkbook.Name).Visible, vbOKOnly, "THIS WORKBOOK IS VISIBLE")
        End If
    Next myWorkbook
End Sub

Open in new window

0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34919229
In http:34897327 and http:34897350, the screenshots you posted show the 'unhide' button as active in the Window menu. This usually means there are hidden workbooks. Try clicking it and see what happens.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34919235
Oops. Forgot to reload before posting.
0
 
LVL 41

Expert Comment

by:dlmille
ID: 34919419
Same thing I asked in 34918871 post...

That's why I wrote that macro...

:)

Dave
0
 

Author Comment

by:Alex972
ID: 34920353
Thanks for the macro. Will try to run in the next hour or so, but it might be tomorrow morning. It is 3:50PM right now.
0
 
LVL 41

Expert Comment

by:dlmille
ID: 34920819
@Tommy - no worries :)

Dave
0
 

Author Closing Comment

by:Alex972
ID: 34926485
The problem seemed to go away by itself since the Unhide choice does not appear.  But, now I have the the macro to use if it appears again.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Companies keep a much closer eye on costs today, so changing to new Technology – Microsoft Office 365 is the smartest move to take.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now