Women like men to flatter them.

Women like men to flatter them.

Explanation

We cannot start this sentence from "men".

We should start this sentence from "women".

While changing active into passive we should not change the sense of a sentence.

If we start this sentence from "men", the sense of the sentence will be changed.

Women like to be flattered by men is the correct passive.