I wrote: It is not HER coming in, but me. Isn't it right? Tks, Sandra
Yes, it is correct.
In correct English it should be he (or she) and I: It is not he who is coming in, but I. But correct English is not accepted here.
he is not coming in, but I am
the subject of a clause should be in the nominative case, not the objective