I need the word Received to have a line through it and waiting for as it is.

enter image description here

="<DIV style='text-decoration:"&IF([Status]="Received","line-through","none"))&";'></DIV>"

The above code does not work. Is my syntax word or is it not doable? Also I don't have designer.

1 Answer 1


You would need to assign different css classes to the divs that have received as opposed to waiting for.

You could then map your text-decoration to the div class.

So your conditional if/then statement would be based off where the decision is made as to where it is received or waiting.

<style> .received {text-decoration: line-through; } </style>

<div id="I assume your code is identifying this" class="received">Received</div>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.