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
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Thanks Jeffery, but unfortunately, this still shows at the top of Excel.

EXCEL_lL5GemtAMB.png
 
Upvote 0
try this

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

Forum statistics

Threads
1,213,565
Messages
6,114,338
Members
448,569
Latest member
Honeymonster123

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
Back
Top