Excel Insert Text Box

Insert bullet points in text box in Excel. This section will show you how to insert bullet points in a text box in Excel. Please do as follows. Select and right click the texts in the text box, click Bullets in the context menu, and then choose the bullet as you need. Now bullet points are added before each row text in the text box. =MSGBOX(TextString, buttons,title, helpfile, context) The first and only required argument is TextString. This is the message text. It is the text string you want to the message box to say to the user. You must enclose the text string in double quotes and limit it to 1,024 characters.

I am sure you would have worked with the text boxes in Word or PowerPoint or even Excel but the trick I am going to share with you will make the text boxes dynamic.. in simple terms the text can change as per the situation

The applications of this technique in Dashboards, Charts and Visualizations is pretty helpful

Here is a standard Text Box in Excel..

  1. You’ll find the option to insert the text box in the Insert Tab
  2. Just draw the text box and start typing

But the problem is : If you write anything into it, it is a static text !

Here is how you can make it Dynamic..

Step 1 : Insert a Data Validation Drop Down

Step 2 : Create a Text box and write anything into it

--> Wrote my name in the textbox

Step 3 : Link the text box to the cell value

  1. Select the text box
  2. Go to the formulas tab
  3. Write “=” and the cell address to which you want to link the cell, then press Enter
  4. Now when the value in the cell changes the text box will dynamically change

There are 2 things that you must remember about dynamic text boxes

  1. After typing the cell address in the formula bar you must press Enter key to enable the link
  2. Once the text box has been linked to the cell, you can no more type inside the text box. You have to either
    • Break the linking to type anything or
    • Continue working with the linked cell

Now let’s take a look at a few applications of Text Boxes

Application 1 : Create Dynamic Comments

Sometime ago I created a Dashboard on Company Cost Structure. I had put in a comment section in the dashboard with updated automatically as one would change the options in the Dashboard.

I have used formulas to generate dynamic comments and then linked them to the text boxes

Application 2 : Create Dynamic Chart Titles

All that I have done is linked the chart title (textbox) to a cell which is displaying dynamic headlines

Application 3 : Create Dynamic Data Labels

  1. There is just one pain point – Linking each data labels (text boxes) to the cells values one by one (unfortunately there is no shortcut for that)
  2. Now when values in the cells will change the data labels will also automatically update

Excel 2013 offers customizing the data labels, which can be picked up from a cell address.

Excel Insert Text Box

Excel Insert Text Box
  1. Select the data labels
  2. Press Ctrl 1 to open Format Data Labels Box
  3. Click on Value from Cells
  4. Pick the values from the spreadsheet
  5. Click on Ok

Excel Insert Text Box Shortcut

Have you created a dynamic text box before ?

How do you use dynamic text boxes in work? If this is new to you share how do you think you’ll use it to make your report more dynamic?

More Resources on Creating Dynamic Objects

Box
  1. Learn How Camera Tool Works in Excel – To make Pictures Dynamic
  2. How to Lookup Pictures – Picture VLOOKUP
-->

Creates a text box. Returns a Shape object that represents the new text box.

Syntax

expression.AddTextbox (Orientation, Left, Top, Width, Height)

Excel Insert Text Box Greyed Out

expression A variable that represents a Shapes object.

Parameters

NameRequired/OptionalData typeDescription
OrientationRequiredMsoTextOrientationThe orientation of the textbox.
LeftRequiredSingleThe position (in points) of the upper-left corner of the text box relative to the upper-left corner of the document.
TopRequiredSingleThe position (in points) of the upper-left corner of the text box relative to the top of the document.
WidthRequiredSingleThe width of the text box, in points.
HeightRequiredSingleThe height of the text box, in points.

Excel Insert Text Box With Formula

Return value

Excel insert text box into cell

Excel Insert Text Box With Scrollbar

Shape

Example

This example adds a text box that contains the text Test Box to myDocument.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.