I did not visit him. Change the voice.
I did not visit him. Change the voice.
Explanation
The correct passive voice is: "He was not visited by me."
In passive voice, the auxiliary verb "was" is used with the past participle "visited" to form the negative construction.