Skip to content

Add text ​

Location on ribbon: Tab DVD Addin → Group Text and Number → Menu Text ops

Command ID: btnAddText

What it does ​

The command opens the Add Text tab of the Text & Number window, which inserts a string before (prefix) or after (suffix) the content of every selected cell. Instead of editing hundreds of rows by hand, you type the string once and click Apply.

On construction paperwork this is typically used to stamp a work-package code onto a list of activities, to append a unit label, or to mark a batch of rows belonging to one acceptance round.

How to use ​

  1. Select the cells that need the extra text.
  2. Go to tab DVD Addin → group Text and Number → menu Text ops → Add text.
  3. The Text & Number window opens on the Add Text tab (heading Add text to cells), with:
    • Text to insert — the string to add.
    • Position — choose Prefix (before existing text) or Suffix (after existing text).
    • Skip empty cells — ticked by default, so blanks stay blank.
  4. Click Apply, then Continue in the Confirm data change box. The status bar reports how many cells were changed.
  5. The window does not lock Excel: you can select a different range on the sheet and click Apply again. Click Close when finished.

Video tutorial ​

Narrated in Vietnamese, with Vietnamese subtitles. Chèn text · 5 min 11 s · 7 cases · Download the video · Practice workbook for the video

Chapters (12)
  1. Giới thiệu
  2. Mở lệnh
  3. Cửa sổ Thêm chữ
  4. 1 · Tiền tố mã hạng mục
  5. 2 · Danh sách đang lọc
  6. 3 · Hậu tố đơn vị sau số
  7. 4 · Bỏ qua ô rỗng
  8. 5 · Nhiều vùng rời (Ctrl)
  9. 6 · Bấm lại và hoàn tác
  10. 7 · Khi lệnh không chạy
  11. Mẹo
  12. Kết thúc

Illustrated walkthrough ​

Practice

Download this command's sample workbook — the data matches the pictures below (sheet Footing M1), so you can follow each step right away.

Step 1. Select the cells that need the extra text, for example the work items of footing M1 that need the item code as a prefix (1).

Step 1

Step 2. On the ribbon, open the DVD Addin tab → Text and Number group → open Text ops → choose Add text.

DVD Addin ▸ Text and Number ▸ Text ops ▸ Add text

Step 3. The Text & Number window opens on the Add Text tab. Type M1 - in Text to insert (1), choose Prefix (before existing text) (2), keep Skip empty cells and click Apply (3).

Step 3

Step 4. The add-in asks before overwriting and reminds you that the result is trimmed at both ends. Keep the sheet backup ticked (1), then click Continue (2).

Step 4

Step 5. Every cell gets the prefix M1 - (1) and the status bar reports how many cells were changed (2). The window stays open: select another item's range, change the string and click Apply again; click Close when done.

Step 5

Example ​

The activity list for foundation F1 needs its package code so it can be merged into the project-wide summary. Select the description column, type F1 - , choose Prefix and click Apply.

BeforeAfter
Blinding concrete 4x6 aggregateF1 - Blinding concrete 4x6 aggregate
Footing rebar D≤10F1 - Footing rebar D≤10
Footing formworkF1 - Footing formwork

Without closing the window you can then select the F2 block, change the string to F2 - and click Apply again.

Notes ​

  • Ctrl+Z right after the command puts the sheet back as it was (thanks to the backup); see Restore data.
  • Cells containing formulas are skipped, so your formulas are safe.
  • Cells on hidden rows are skipped too — convenient while a filter is active.
  • The result is trimmed, so leading or trailing spaces in your string (for example " (temp) ") are dropped at the outer edges.
  • Untick Skip empty cells if you also want the string written into blank cells.

Released under DVDAddin License.