The same applies to "Bill and I" and "Me and Bill." People have trouble with that, but the key is to think about the sentence without Bill.
Me and Bill went to the store=
Me went to the store.
or
She gave a dollar to Bill and I=
She gave a dollar to I.
When you try that, it's easy to correct.