Office – Error Barra de menús de la hoja

Written by lopezatienza on 20/02/2011 – 18:45 -

Buenas a todos.

Cuando os desaparzcan los menus de Excel y no podais reactivarlos, poneis los botones de las macros para poder ejecutar macros y ejecutais el siguiente código:




Sub recuperar()

Dim Tbar As CommandBar

On Error Resume Next

For Each Tbar In Application.CommandBars

Tbar.Reset

Tbar.Enabled = True

Next Tbar

Application.CommandBars(35).Enabled = True

Application.CommandBars("Cell").Enabled = True

CommandBars("ply").Enabled = True

End Sub




Un saludo y espero os sirva de ayuda.

Gracias a Javier Dominguez por la información.


Autor: Antonio Lopez Atienza


Tags:
Posted in Office | No Comments »

Leave a Comment

 

RSS
MCC D5E