Option D: 'In any way' is a prepositional phrase: 'in' is a preposition and 'any way' is the object of the preposition. It completes the sentence in meaning and hence option D is correct.
Option A: 'Or' is a conjunction and 'no' is an adverb or a noun (depending on its context). This phrase does not contain a preposition.
Option B: 'Yes' is a noun and not a preposition.
Option C: 'Not' is an adverb.
These options are not prepositions, hence they do not form prepositional phrases.
So, options A, B and C are wrong.