Excel menu bar missing

Solved
lawre -  
 nahoul -
Hello,

I just downloaded an Excel sheet and since then I have no menu or toolbar on my session.
I cannot restore the toolbars because I have no access to anything (just the formula bar).
My restorations are not working and reinstalling my Office package is the same. However, there are no issues on other sessions.

Can you please tell me how to restore a lost menu bar?

Thank you in advance
Configuration: os: windows XP home

30 answers

  • 1
  • 2
  1. Didi
     
    Hi,

    I had the same problem as you just yesterday and the link provided above for restoring the toolbar worked perfectly.

    To access Visual, you press Alt-F11. There, you click on ThisWorkbook and copy the macro provided in the link. That is to say, the following:
    Sub ResetCommandBars()
    Dim x
    On Error Resume Next
    For x = 1 To Application.CommandBars.Count
    With Application.CommandBars(x)
    .Reset
    .Enabled = True
    End With
    Next x
    End Sub

    All you need to do is run it and it works.
    42
    1. Philippe
       
      Thank you very much for the solution.
      I racked my brains over it for hours and it works. I don't know how but it's effective!

      Well done and thanks again.
      0
    2. andry
       
      Thank you so much for the code - it helped me a lot - since I spent hours looking for the solution - thank you very much
      1
  • 1
  • 2