OK: here are five worksheets on the homophones vain and vein, which are, respectively, a noun and an adjective. Remember that the noun for vain, in the sense of “having or showing undue pride in one’s appearance or achievements” is vanity. And when one uses (as the exercises show) vain as an adjective to mean “marked by futility or ineffectualness” the preposition in generally precedes the adjective (i.e. in vain).
If you find typos in these documents, I would appreciate a notification. And, as always, if you find this material useful in your practice, I would be grateful to hear what you think of it. I seek your peer review.