Quick grammar question

<p>There was a grammar question that I didn't quite understand, and it went something like this:</p>

<p>The corporation decided to offer the scholarship to whoever did the most work in the graduating class.</p>

<p>It was an error ID question, and I thought the "whoever" part was incorrect; shouldn't it be "whomever" as the object of a preposition?</p>

<p>The correct answer was that there were no errors.</p>

<p>Any thoughts?</p>

<p>The corporation decided to offer the scholarship to whoever did the most work in the graduating class.</p>

<p>It is no error. Think of it in parts. Whoever is equivalent of he/she while whomever is equivalent of him/her. So just replace whoever with both he/she and him/her. It is now obvious that you don't say: him did the most work.</p>

<p>So the second part of the sentence, after the "to," overrides the "to?" Err, "to" usually takes an object; the rule is that when deciding between object/subject, make sure the verb is satisfied before the preposition?</p>

<p>Did that make any sense? XD</p>

<p>no it should be whomever</p>

<p>the person being offered the scholarship is the direct object</p>

<p>I think it should be "whomever" as well since it's the indirect object, I think.</p>