Hide the file name at the very top of excel application

SteveD

Board Regular
Joined
Feb 20, 2002
Messages
104
I'm trying to present a score card in a Zoom meeting by sharing a screen with Excel running.
I'm using an Excel sheet with a ton of conditional formatting and formulas to calculate a complex final score, and when I'm sharing the screen I don't wan it to look like Excel.

I've hidden almost everything in the UI, but I can't find a way to hide the very top bar of excel where it displays the file name.
Any suggestions on the code I could use to make that part of the UI disappear?

I'm OK with keeping the minimize, full screen and close buttons that seem to be in the same top bar. If they need to go in order to make the filename not be visible, that's fine.
And yes, I want to keep the scroll bar visible on the bottom of the screen if possible.

Here is what I have so far... this code runs when I press a button, and the reverse runs when I press another button so I can get the UI back if I need to.

Thanks for your help!

VBA Code:
Sub TurnOffInterface()
'
' TurnOffInterface Macro
'

'
    Application.ScreenUpdating = False
    Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
    Application.DisplayFormulaBar = False
    With ActiveWindow
                .DisplayHeadings = False
    End With
    Application.DisplayStatusBar = Not Application.DisplayStatusBar
    ActiveWindow.DisplayWorkbookTabs = False
    Application.ScreenUpdating = True
    
    
End Sub
 

Some videos you may like

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

SteveD

Board Regular
Joined
Feb 20, 2002
Messages
104
Thanks Jeffery, but unfortunately, this still shows at the top of Excel.

EXCEL_lL5GemtAMB.png
 

Sharid

Well-known Member
Joined
Apr 22, 2007
Messages
1,024
Office Version
  1. 2016
Platform
  1. Windows
try this

VBA Code:
Sub test()
Application.Caption = " "
ActiveWindow.Caption = ""
End Sub
 
Solution

Watch MrExcel Video

Forum statistics

Threads
1,122,243
Messages
5,595,027
Members
413,960
Latest member
ikkin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top