Hi,
I have the following codes that hides the ribbon and that but it also stops me from copy and pasting from another sheet.
Does anyone know if there is a way to amend these codes but allow copy and paste to work?
Thanks
Dan
I have the following codes that hides the ribbon and that but it also stops me from copy and pasting from another sheet.
Code:
Private Sub Workbook_Activate()
With Application
.ScreenUpdating = False
.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
.DisplayFormulaBar = False
.DisplayStatusBar = Not Application.DisplayStatusBar
.ScreenUpdating = True
End With
End Sub
Private Sub Workbook_Deactivate()
With Application
.ScreenUpdating = False
.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
.DisplayFormulaBar = True
.DisplayStatusBar = True
.ScreenUpdating = True
End With
End Sub
Does anyone know if there is a way to amend these codes but allow copy and paste to work?
Thanks
Dan