How to Display A Message On The Excel Status Bar Using VBA  in Excel?
Tags: todisplayamessageont, vbamacros
Published: 2021-10-14 07:56:48

---
title: How to Display A Message On The Excel Status Bar Using VBA  in Excel?
published: true
date: 2021-10-13 12:49:38 UTC
tags: ToDisplayAMessageOnT,VBAMacros
canonical_url: https://geekexcel.com/how-to-display-a-message-on-the-excel-status-bar-using-vba-in-excel/
---

In this tutorial, you will learn how to  **display a message on the Excel Status Bar**  **using VBA ** in Microsoft Excel. Let’s see them below!! Get the official version of  **MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

## Example

- Firstly, in the Excel Worksheet, you have to go to the  **Developer Tab.**
- Then, you need to ** ** select the  **Visual Basic**  option under the  **Code**  section.

![Select Visual Basic](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/09/Select-Visual-Basic-9-1024x180.png)<figcaption>Select Visual Basic</figcaption>

- Now, you have to  **copy and paste the code**  given below.

```
Sub DisplayMessageOnStatusBar()
Application.ScreenUpdating = False
Application.StatusBar = "Calling function one "

' call function_1

Application.Wait (Now + TimeValue("00:00:2"))
Application.StatusBar = "Calling function two"

'Call function_2

Application.Wait (Now + TimeValue("00:00:2"))
Application.StatusBar = "Calling function Three"

'Call function_3

Application.Wait (Now + TimeValue("00:00:2"))
Application.StatusBar = ""

Application.ScreenUpdating = True
End Sub

```

- You need to  **save the code**  by selecting it and then  **close the window**.

![](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/10/Save-the-Code-45.png)<figcaption>Save the Code</figcaption>

- Again, you have to go to the  **Excel Spreadsheet** , and click on the  **Developer Tab**.
- Then, you need to choose the  **Macros option**  in the Code section.

![Choose Macro option](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/09/Choose-Macro-option-11-1024x184.png)<figcaption>Choose Macro option</figcaption>

- Now, you have to make sure that your  **macro name is selected**  and click the  **Run ** button.

![](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/10/Run-the-Code-37.png)<figcaption>Run the Code</figcaption>

- Finally, you will get the  **output ** as  **message on the Excel Status Bar**  in Excel.

![](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/10/Output-22.png)<figcaption>Output</figcaption>

## Sum-Up

In the above short tutorial, we have illustrated ** ** how to  **display a message on the Excel Status Bar using VBA**  in Microsoft Excel. Hope you like this article. Please feel free to state your  **query**  or  **feedback**  for the above article. Thank you so much for Reading!! To learn more, check out **[Geek Excel](https://geekexcel.com/)!! **And [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

Read Also:

- **[Show or Hide Ribbon, Formula Bar, and Status Bar in Excel 365!!](https://geekexcel.com/show-or-hide-ribbon-formula-bar-and-status-bar-in-excel-365/)**
- **[Status Bar Options in Excel – Customize and Use Status Bar in Excel 365](https://geekexcel.com/status-bar-options-in-excel-customize-and-use-status-bar-in-excel-365/)**
- **[How to Add an Input Message in Data Validation in Excel office 365?](https://geekexcel.com/how-to-add-an-input-message-in-data-validation-in-excel-office-365/)**
- **[Excel Formulas to Check the Conditional Message with REPT Function!!](https://geekexcel.com/excel-formulas-to-check-the-conditional-message-with-rept-function/)**
- **[How to use Message Box to Update Today’s Day in Microsoft Excel VBA?](https://geekexcel.com/how-to-use-message-box-to-update-todays-day-in-microsoft-excel-vba/)**