// Create a new workbook Workbook workbook = new Workbook(); IWorksheet worksheet = workbook.getWorksheets().get(0); // Create threaded comment for range C3. ICommentThreaded commentThreadedC3 = worksheet.getRange("C3").addCommentThreaded("Range C3's threaded comment","Bill"); // Add a reply for commentThreadedC3. ICommentThreaded reply = commentThreadedC3.addReply("Range C3's reply","Even"); // Save to an excel file workbook.save("AddCommentThreaded.xlsx");