Since you haven't mentioned the other question, the only answer you'd posted to day was thisthis.
On this answerthis answer, the question is tagged with vba. Looking at the tag definition, the syntax highlighting language is set as vb, so the prettifier <!-- language: lang-vb -->
why is why you see the highlighting as in the second image.
On your today's answeranswer, the question originally didn't have vba, so no syntax highlighting was applied.
Then, you forced <!-- language: lang-VBA -->
which has different colour syntax highlighting than <!-- language: lang-vb -->
which is applied to the first question.
hence, the difference. See the revisions hererevisions here to see how the highlighting changes