
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Convert Text in Text Box to Cell Content in Excel?
When we have data in text boxes in Excel and need to manually extract the data from the box, it can be a time-consuming process. We can’t perform any operations on the dates if they are in a text box, as they are treated as comments.
Read this tutorial to learn how you can convert text in a textbox to cell content in Excel. We can complete the process using the VBA application, as it can't be completed directly in Excel.
Converting Text in Text Box to Cell Content in Excel
Here we will first insert the VBA module then run it to complete the task. Let's go over a simple procedure for converting text in a text box to cell content in Excel.
Step 1
Let us consider any Excel sheet where it contains text boxes as similar to the data shown in the below image.

Now right-click on the sheet name and select view code to open the VBA application, then click on inset and select module.
Right click > View code > Insert > Module
Step 2
Copy the following program code in the textbox as shown in the below image.
Program
Sub TextboxesToCell() 'Update By Nirmal Dim xRg As Range Dim xRow As Long Dim xCol As Long Dim xTxtBox As TextBox Set xRg = Application.InputBox("Select a cell):", "Convert text box", _ActiveWindow.RangeSelection.AddressLocal, , , , , 8) xRow = xRg.Row xCol = xRg.Column For Each xTxtBox In ActiveSheet.TextBoxes Cells(xRow, xCol).Value = xTxtBox.Text xTxtBox.Delete xRow = xRow + 1 Next End Sub

Step 3
Save the sheet as a macro-enabled workbook, click F5 to run the code, select the cell from where you want to start the list, and click OK.
Save > F5 > Cell > OK

Conclusion
In this tutorial, we used a simple example to demonstrate how you can convert text in a textbox to cell content in Excel.
- Related Articles
- How To Add Text Box To a Chart In Excel?
- How to Convert Formula to Text String in Excel?
- How to Convert Hyperlink to Plain Text in Excel?
- How to Convert Text Strings to Formulas in Excel?
- How to Convert HTML to Text in Cells in Excel?
- How to Append Text from One Cell to Another in Excel?
- How to change or convert number to text in Excel?
- How to change or convert text to number in Excel?
- How to Convert URL Text to Clickable Hyperlink in Excel?
- How to Copy Cell as Text Value Not Formula in Excel?
- How To Add Text Cells Together Into One Cell In Excel?
- How to Convert Date Stored as Text to Date in Excel?
- How to Convert Scientific Notation to Text or Number in Excel?
- How to add comma at the end of cell/text in Excel?
- How to delete rows above active cell or specific text in Excel
