How To Edit The Tooltip For Toolbar Buttons Using VBA In Microsoft Excel?
Tags: toeditthetooltipfort, vbamacros
Published: 2021-10-14 07:56:33

---
title: How To Edit The Tooltip For Toolbar Buttons Using VBA In Microsoft Excel?
published: true
date: 2021-10-13 12:16:31 UTC
tags: ToEditTheTooltipForT,VBAMacros
canonical_url: https://geekexcel.com/how-to-edit-the-tooltip-for-toolbar-buttons-using-vba-in-microsoft-excel/
---

In this post, you will learn how to  **edit the tooltip for toolbar buttons 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 ChangeToolTipsText()
    Application.CommandBars("Standard").Controls(1).TooltipText = "Test"
End Sub
Use this macro to reset the tooltips text:

Sub ResetToolTipsText()
    Application.CommandBars("Standard").Controls(1).TooltipText = ""
End Sub
Use this macro if you want to reset all custom settings for a Control::

Sub ResetAllControlSettings()
    Application.CommandBars("Standard").Controls(1).Reset
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-43.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-35.png)<figcaption>Run the Code</figcaption>

- Finally, you can **edit the tooltip for toolbar buttons**  using VBA in Excel.

## Sum-Up

We hope that this post gives you guidelines on how to  **edit the tooltip for toolbar buttons using VBA**  in Microsoft Excel. ** ** Please leave a comment in case of any  **queries,**  and don’t forget to mention your valuable  **suggestions**  as well. Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!! **Read more on [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

**Related Articles:**

- **[Options in Quick Access Toolbar in Microsoft Excel 365](https://geekexcel.com/options-in-quick-access-toolbar-in-microsoft-excel-365/)**
- **[Insert Multiple Option Buttons at Once in Excel Office 365!!](https://geekexcel.com/insert-multiple-option-buttons-at-once-in-excel-office-365/)**
- **[Batch Delete Option Buttons with One Click in Excel Office 365!!](https://geekexcel.com/batch-delete-option-buttons-with-one-click-in-excel-office-365/)**
- **[Edit a Formula in Excel ~ A Simple Tutorial!!](https://geekexcel.com/edit-a-formula-in-excel/)**
- **[How to Hide Formula in Microsoft Excel 365?](https://geekexcel.com/how-to-hide-formula-in-microsoft-excel-365/)**