Hi,I believe the versions with the object pronouns would be acceptable in formal writing too. I really see nothing wrong at all with them. But it depends what you mean by formal. I am thinking more of a kind of informal-formal, not a kind of overly formal English (= one where you would avoid any...