App Garden

Hardcoded Value Detector

How to find hardcoded values in a workbook

A step-by-step run through the add-in, from the empty pane to the fix and back again. Ten minutes, and you can do all of it on the free tier except the two steps that say otherwise.

What it looks for

Two things, and only two. Both are ordinary, both are invisible in Excel, and both quietly stop a workbook telling you the truth.

Excel's own inconsistent-formula warning catches neither reliably. It compares a cell against its neighbours, so a number at the top or the bottom of a run — which is where they usually are — has no neighbour to disagree with.

Before you start

Step 1 — Open the pane

Open the workbook, then Home › Find Hardcoded Values. The pane opens down the right-hand side with two buttons and nothing else. It has not read anything yet.

The add-in pane, showing the Check this sheet and Check whole workbook buttons and no results.
Nothing happens until you press a button. The add-in never scans on its own.

Step 2 — Check the sheet

Select the sheet you care about and press Check this sheet. It reads the used range once and lists what it found, worst first.

The pane listing two findings: a value pasted over a formula in E5, and a magic number in B10.
Two findings on this sheet. Checking and every explanation are free, on every sheet, forever.

If it finds nothing it says so plainly. There is no score and no grade — two checks, and what they found.

Step 3 — Read a finding

Each finding is one card, and each card says four things:

A single finding card: title, cell reference, what is wrong, why it matters, and the current value against the suggested formula.
The cell reference at the top right is a link — click it and Excel selects that cell.
  1. What it is. “Value pasted over a formula”, and the cell.
  2. What is wrong, in one sentence, naming the pattern the rest of the column uses.
  3. Why it matters. The paragraph in grey. Worth reading once per kind of finding.
  4. The comparison. What the cell holds now, and what the formula would be. That block is built from the same instruction the Fix button executes, so it cannot promise one thing and do another.

The colour down the left edge is severity. Red is a value pasted over a formula — a number that has stopped adding up. Amber is a constant inside a formula, which may be perfectly deliberate.

Step 4 — Fix it Pro

On the paid tier each fixable finding carries a button naming exactly what it will do. On the free tier the same card shows the formula and tells you to type it in yourself — the explanation is never withheld.

The same finding on a Pro licence, now with a Restore the formula in E5 button under the comparison.
The button names the cell. It fixes that one finding, not everything it found.

Press it, and the pane writes the formula, re-reads the sheet, and shows you what is left.

After the fix: one finding remains, and an Undo the last fix button has appeared.
One finding gone, one still there — the magic number, which the add-in will not fix for you. Only you know what 0.2 means.

Step 5 — Undo, if you want it back

Undo is free on every tier, always. It appears the moment there is something to go back to, and it survives the pane being closed and reopened.

The pane after pressing undo: both findings are listed again.
Both findings are back, because the sheet is back. Undo restores the cells the fix touched.

Use this button rather than Ctrl+Z. What Excel's own undo does after an add-in writes to a sheet is not defined by Office, and it varies by platform. This button is the reliable route.

Step 6 — The whole workbook Pro

Check whole workbook does every visible sheet in one pass and lists the findings together, each labelled with the sheet it came from. Hidden sheets are skipped: a finding on a tab you cannot see is a finding you cannot act on.

Findings from two sheets listed together, each labelled with its sheet name.
Three findings across two sheets, in one list.

On the free tier the button is still there, and says why it did nothing:

The free tier response: checking every sheet at once is part of the paid tier.
The active sheet stays free however many times you check it.

Step 7 — Entering a licence key

Open Enter a licence key at the bottom of the pane, paste the key from the end of checkout, and press Activate. It takes effect immediately — no restart.

The licence section expanded, showing the key field and the Activate button.
One key covers three installs — a desktop, a laptop, and the machine that gets rebuilt.

If the pane ever says your licence is no longer active, it is almost always a card that expired. Checking a sheet keeps working, and so does Undo.

The foot of the pane on a lapsed licence: your licence is no longer active, checking this sheet still works, and Undo always does.
The message sits at the foot of the pane, under the findings. A lapsed licence never takes away what was free.

Exporting what it found Pro

Export CSV gives you a row per finding for a spreadsheet or a ticket. Export summary gives you Markdown to paste into a message. Both export the scan you are looking at, not a fresh one, so the file always agrees with the screen.

Where a host will not let the pane download a file — this happens in some locked-down Excel on the web configurations — a Copy the report box appears with the same text in it.

When it will not help

If something looks wrong

Email support@appgarden.co.uk, and say which platform you are on and what the pane showed. If a finding looks wrong to you, the workbook itself is the most useful thing you can send — but only send one you are content to share, and read the privacy notice first.