VBA code to capitalize each word of a string [Excel]

Below is the Excel VBA code to capitalize each word of a string.

Output:

capitalize-each-word-string-VBA-excel