Function Problems

How to Populate WPS Office Excel Text Boxes from a Table with Formulas or VBA

Muhammad TalhaMuhammad Talha Nov 13, 2026 868 views

Question details

The user wants to make Excel text boxes or picture boxes automatically display a changing list based on a table, using cell linking formulas or VBA instead of manually editing each shape.

How to Populate WPS Office Excel Text Boxes from a Table with Formulas or VBA
Product
WPS Office Excel
Device & OS
not provided
Scenario
A workbook contains a named table with role and responsibility columns, and separate shapes on destination sheets should display only the matching responsibilities.
Observed behavior
Text boxes and shapes do not update directly from table values; they remain static unless linked to worksheet cells or updated with VBA.
Before you start

Make sure your source data is formatted as an Excel table or has a defined name, and identify the blank helper cells where the dynamic FILTER results can be placed before you link the shapes.

Solution 1Recommended

Link text boxes to dynamic FILTER helper cells

Use this formula-based method when you want shapes to update automatically without macros and when your source table uses structured references such as Table1[Role].

A helper range lets a formula return matching values to worksheet cells; each shape is linked to one helper cell through the formula bar, so the displayed text follows the cell value whenever the table changes.

1
Enter the FILTER formula in a helper cell

On the destination sheet, select the first helper cell, such as A1, and enter =FILTER(Table1[Responsibility],Table1[Role]="Farmer",""). Press Enter to let results spill down.

2
Hide the helper values if needed

Select the helper range, press Ctrl+1, and set the number format to Custom: ;;; so the worksheet stays clean without deleting formulas.

3
Link the first shape to the helper cell

Select the rectangle or text box, click the formula bar, type =A1, and press Enter.

4
Link additional shapes

Select each remaining shape and enter =A2, =A3, and so on. When the table changes, FILTER returns shifted or blank results and the shapes update accordingly.

Link text boxes to dynamic FILTER helper cells
Formula-driven updates work without macros: If the workbook must remain macro-free, linking to helper cells is the safest way to keep text boxes synchronized.

Create dynamic auto-updating text boxes in WPS Office Excel

Use WPS Office Excel to link text boxes to FILTER helper cells, so your shapes automatically display matching rows from a table without manual edits. WPS keeps the same formula bar, shape-linking workflow, and .xlsx/.xlsm compatibility you expect.

  1. 1. Open your workbook in WPS Office Excel: Launch WPS Office, open the .xlsx workbook, and go to the sheet that contains the shapes and table.
  2. 2. Create the dynamic helper range: Enter a FILTER formula such as =FILTER(Table1[Responsibility],Table1[Role]="Farmer","") in the first helper cell.
  3. 3. Link each text box to a helper cell: Select each shape, click the formula bar, and type =A1, =A2, and so on to bind the text to the helper cells.
  4. 4. Test the update: Change a table value and confirm the linked shapes update automatically.
Link shapes to dynamic helper cells using the same Excel formula bar workflowSupports FILTER and structured table references for auto-updating text boxesFull Microsoft Excel .xlsx and .xlsm file format compatibilityFree, lightweight Office suite with a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Can a text box show a formula result directly without linking to a cell?

No. A text box or shape cannot hold a worksheet formula. Select the shape, click the formula bar, and link it to a helper cell such as =A1, or use VBA to update the shape.

Why does my shape text not update when the table changes?

The shape is likely not linked to a helper cell. Click the shape, check the formula bar for a reference like =A1, and make sure the helper cell contains the FILTER or INDEX formula.

How do I hide the helper formula cells from the printed sheet?

Select the helper cells, press Ctrl+1, go to the Custom category, and enter ;;; as the number format. Values are hidden but formulas still calculate.

Can I use this method without enabling macros?

Yes. The FILTER helper-cell method is macro-free. Use VBA only if you need direct shape updates and can save the workbook as .xlsm.