Check the destination column for pasted text
- Flag the whole column. In Excel, with the raw destination in B2, put this helper in C2 and fill it down. Filter for TRUE.
=OR(TRIM(B2)="",ISNUMBER(FIND(" ",TRIM(B2))),ISNUMBER(FIND(CHAR(9),B2)),ISNUMBER(FIND(CHAR(10),B2)),ISNUMBER(FIND(CHAR(13),B2)),ISNUMBER(FIND(",",B2)),ISNUMBER(FIND("http://",LOWER(MID(TRIM(B2),2,LEN(B2))))),ISNUMBER(FIND("https://",LOWER(MID(TRIM(B2),2,LEN(B2))))))
This checks for blank values, internal ordinary spaces, tabs, line breaks, commas and HTTP(S) addresses that appear after the first character. It checks tabs and line breaks in the raw cell so a pasted control character stays visible as a flag. See Microsoft’s documentation for TRIM and CHAR, accessed November 22, 2026 Vancouver time.
- Resolve each flag against the source. Match the row by its identifier and compare the full cell with the approved URL. Replace a cell containing a pasted tab and note or a second unintended value. For an intentional comma or nested URL, keep it and record the row ID, exact approved value and source used to confirm it.
- Check the exact CSV you will upload. Export the destination data without the helper column. Import that exact export into a separate verification sheet with the destination column treated as text. Confirm the headers and row IDs still align, repeat the helper, and compare every destination with the approved list. Any previously approved exception must match the exact recorded value. In CSV, fields containing line breaks, commas, or double quotes should be enclosed in double quotes. See RFC 4180, section 2, published October 2005 and checked November 23, 2026.
- Activate with zero unresolved flags. A full HTTP(S) URL or a bare host and path can pass this check if it matches the intended destination. For the wider workflow, see how to prepare and import a bulk QR CSV. If the codes are headed to print, use the QR print deployment guide for the checks that follow.
What a format check can miss
The top results we reviewed in November 2026 focused on spreadsheet links losing hyperlink formatting or failing in other tools. For a QR CSV, the question is whether the destination field still contains exactly the address assigned to that row after export. A tab pasted between a URL path and a note can make that hard to see.
Illustrative example. Suppose you mean to import https://example.com/menu, but the cell contains https://example.com/menu[TAB]staff, where [TAB] represents a literal tab. The WHATWG URL Standard's basic URL parser removes ASCII tabs and newlines from its input, so the two pieces can become https://example.com/menustaff. The standard also describes trimming leading and trailing control characters and spaces. Standard updated November 19, 2026, and checked November 23, 2026.
A November 20, 2026 review of VastQR's code (dfac177) found that the destination check adds https:// when needed, accepts HTTP(S) URLs with a dot in the host, and uses the URL parser to serialize the value. A space inside a path can become %20. The check makes no request to see where the address leads. The same code review found that bulk imports create new codes with new short links, so importing the corrected CSV again after activation can leave the original bad row in place and create another code.
The product behavior described here comes from reviewing the code. The example illustrates the URL standard. No CSV import, activation, or phone scan was tested for this guide.
Frequently asked questions
Can a cell pass validation with a note pasted after the URL?
Yes. A note can become part of a syntactically valid address after the URL parser processes the input. Compare the entire path and query string with the intended destination before activating.
Does a comma always mean another spreadsheet value was pasted?
A comma is a cue to check the source. If it belongs in the intended address, preserve it, record the approved value and its source, and check that the exact CSV export keeps the address in a single quoted field. If it joins unrelated values, replace the cell with the intended URL.
Will re-importing the corrected CSV fix an already activated QR code?
The code review found that a new bulk import creates new short links and leaves the earlier rows in place. If the original QR code is already in use, locate its row by the original short link in the dashboard and update the destination on that existing code if you can edit it, then follow the original short link and confirm it opens the corrected page.