DisplayFormulaBar Property of Application Object VBA

DisplayFormulaBar Application Property in VBA is used to hide or show the formula bar. It has Boolean value. If the value is true then it show the formula bar on the Excel screen. Else, it hides the formula bar. Please find the more information and syntax in the following chapter.

PREMIUM TEMPLATES LIMITED TIME OFFER

ON SALE80% OFF

50+ Project Management Templates Pack
Excel PowerPoint Word

Advanced Project Plan & Portfolio Template
Excel Template

Business Presentations Templates Pack
PowerPoint Slides

20+ Excel Project Management Pack
Excel Templates

20+ PowerPoint Project Management Pack
PowerPoint Templates

10+ MS Word Project Management Pack
Word Templates


VBA DisplayFormulaBar Application Property – Syntax

Here syntax for DisplayFormulaBar Property of application object in VBA.

Application. DisplayFormulaBar

Where DisplayFormulaBar as String.
In the above syntax Application represents object and DisplayFormulaBar is the Property of Application object.

VBA DisplayFormulaBar Application Property: Example 1

Please find the below example for DisplayFormulaBar Property of application object in excel VBA. The below example shows the formula bar in the Excel screen.

Sub Appl_Display_FrmlBr_Ex1()
'DisplayFormulaBar is the property of application object
Application.DisplayFormulaBar = True
End Sub

VBA DisplayFormulaBar Application Property: Example 2

Please find the below example for DisplayFormulaBar Property of application object in excel VBA. The below example hides the formula bar in the Excel screen.

Sub Appl_Display_FrmlBr_Ex2()
'DisplayFormulaBar is the property of application object
Application.DisplayFormulaBar = False
End Sub

VBA DisplayFormulaBar Application Property – Instructions

Please follow the below steps to execute the VBA code to save the excel file.
Step 1: Open any existing Excel Application.
Step 2: Press Alt+F11 – This will open the VBA editor window.
Step 3: Insert a code module from then insert menu.
Step 4: Copy the above code and paste in the code module which have inserted in the above step.
Step 5: Now press F5 to execute the macro code to display formula bar or not.

LIMITED TIME OFFER

Leave A Comment


Related pages


application run vbacreate an excel macroexcel vba userform positionexcel hide buttonexcel dynamic formulaexcel logical and operatorrunning a macro in excelquality checklist template excelexcel formula to find duplicates in a listexcel macros basicsvba run sqlhow to use pivot table in excel 2003how to merge multiple excel sheets into oneascending order in excel 2007vba application getopenfilenamemicrosoft excel unprotect sheetexcel vba numberformatvba fsoddl and dml commandsvba save as dialogexcel vba range resizevba popup windowmerge cells in excel 2010how do you create a macro in excelhow to use sumifs function in excel 2010consolidated worksheetvba programming guideexcel vba open files in folderexcel vba array of stringslock sheet excelvba learningcreate excel macroexcel unlock worksheethyperlink vbavba goto statementexcel vba project examplesvb6 with access database exampleunlock excelvb6 combo boxvba oledbexcel formula tutorialgoto vba excelvlookup hlookup combinationmacros programming in excelexcel vba interview questionsms excel hlookup examplevba programmingconcatenate excel examplevlookup duplicatesexcel chartingmessagebox custom buttonsadvanced excel test questions and answerswhat is vba macrovba close excelhow to amalgamate excel spreadsheetsvba for excel pdfmerge excel tabshow to learn vlookup in excel 2010excel find and delete duplicatesmsgbox function in vbamultiple conditions excelloop vba codeexcel formula to merge cellsexcel spreadsheet gantt chart templateunhide column excelsave excel to xmlunprotect excel macrowhat is a vlookup function in excelfso vbavba instr functionpaste special skip blankshow to merge columns in excelexcel formula to count duplicatesdelete columns vbahow to combine data from multiple excel fileshow to unhide all hidden columns in excelvba status baradd developer tab excel 2013