Comments are used to add additional information or to explain a formula in the Excel worksheet. MS Excel also allows you to set the font size, height, width, etc. of the comments. In this article, you will learn how to add comments to the Excel worksheets programmatically using Java. Furthermore, the article will also cover how to format the comments.