Skip to content

To VNI ​

Location on ribbon: Tab DVD Addin → Group Text and Number → arrow on Encoding

Command ID: btnConvertVNI

What it does ​

Converts Vietnamese text in the current selection to the VNI encoding and sets the font of the converted cells to VNI-Times. Use it when a deliverable has to go back to an office that still works with the VNI font family (many older estimate and quantity templates), or when you paste a Unicode table into a legacy workbook and need one consistent typeface for printing.

How to use ​

  1. Select the cells to convert (Ctrl-click for several separate areas).
  2. Go to tab DVD Addin → group Text and Number → arrow on Encoding → choose To VNI.
  3. The add-in detects each cell's source encoding from the text content first, then from its current font (.Vn… suggests TCVN3, VNI… suggests VNI, anything else is Unicode) and rewrites the text as VNI.
  4. Converted cells are switched to the VNI-Times font.
  5. The status bar reports Converted N cells to VNI (font: VNI-Times) and clears after about 8 seconds. N includes only cells that actually changed.

Video tutorial ​

Narrated in Vietnamese, with Vietnamese subtitles. Chuyển mã · 6 min 05 s · 12 cases · Download the video · Practice workbook for the video

Commands in this video: Encoding · To TCVN3 · To Unicode · To VNI

Chapters (18)
  1. Giới thiệu
  2. Mở lệnh
  3. Cửa sổ Chuyển mã
  4. 1 · Bảng VNI-Times → Unicode
  5. 2 · Nút nhanh: TCVN3 → Unicode
  6. 3 · Sang VNI để nộp mẫu cũ
  7. 4 · Chữ HOA có dấu
  8. Tự nhận bảng mã
  9. 5 · Chữ đã là Unicode
  10. 6 · Ô ngắn mơ hồ
  11. 7 · Phông gốc bị đổi mất
  12. 8 · Ô công thức
  13. 9 · Cả sheet, cả tệp
  14. 10 · Dòng ẩn, danh sách lọc
  15. 11 · Ghi đè và hoàn tác
  16. 12 · Khi không có gì để chuyển
  17. Mẹo
  18. Kết thúc

Illustrated walkthrough ​

Practice

Download this command's sample workbook — the data matches the pictures below (sheet Khối lượng), so you can follow each step right away.

Step 1. Select the description column that must go into a template using the VNI-Times font (1).

Step 1

Step 2. On the ribbon, open the DVD Addin tab → Text and Number group → open Encoding → choose To VNI.

DVD Addin ▸ Text and Number ▸ Encoding ▸ To VNI

Step 3. There is no options window; the command only stops once to confirm the overwrite: keep the sheet backup ticked (1) and click Continue (2).

Step 3

Step 4. The cells now hold VNI codes in the VNI-Times font (1). On a machine with VNI-Times they read as normal Vietnamese; the picture shows the raw codes — what the formula bar shows, or what a machine without the font displays. The status bar reports the number of converted cells (2).

Step 4

Example ​

A contractor's quantity take-off is written in Unicode, but the client requires the old VNI-Times template. Select the work-description column and click To VNI:

Before (Unicode)After (VNI bytes, VNI-Times font)
Bê tông móng đá 1x2 M250Beâ toâng moùng ñaù 1x2 M250
Ván khuôn cột, váchVaùn khuoân coät, vaùch
Thép tròn D18 trở lênTheùp troøn D18 trôû leân

The raw characters look odd, but rendered with VNI-Times they read as correct Vietnamese.

Notes ​

  • Formula cells are skipped entirely; only text values are re-encoded.
  • Because content is checked before the font, Unicode text that still carries a .Vn… font is correctly treated as Unicode, and TCVN3 text whose font was changed to a Unicode font (Arial, for example) is still recognized by symbols such as ª, «, ©.
  • The result overwrites the cells. Ctrl+Z right after the command puts the sheet back as it was (thanks to the backup); see Restore data.
  • The recipient's machine must have the VNI-Times font installed, otherwise the text displays incorrectly; mention the font requirement when you send the file.
  • Once text is VNI, lookups and comparisons against Unicode data stop matching — convert as the last step, after all calculations are finished.
  • With no range selected the add-in shows "Please select a data range." and does nothing.
  • To Unicode — bring legacy files up to Unicode for calculation and lookups.
  • To TCVN3 — the other legacy encoding still common in older archives.
  • Convert encoding — dialog version with a wider scope (whole sheet or workbook).
  • Remove accents — when you need unaccented text rather than a different encoding.

Released under DVDAddin License.