This question already has an answer here:
I am writing my bachelor dissertation and several times Microsoft Word has corrected me from "to have" to "having". One of the sentences, for instance, goes like this:
The author recommends to have ‘(...)'. Bugeja further recommends having a student blog where prospective...
Can anyone enlighten me?