Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
In the Excel program (version 07 and above), there are two places where you can insert text boxes. One is in Insert → Shapes, and the other is on the right side of the top menu of the Insert tab.


You can create text boxes with horizontal or vertical text.
Now you get a text box.
When you need to bulk‑insert TextBox objects into a worksheet, the manual insertion method is clearly impractical. If this bothers you, this document will help. Aspose.Cells provides an API that makes bulk inserts easy in your code.
The following sample code creates a text box.
const AsposeCells = require("aspose.cells.node");
const path = require("path");
// The path to the documents directory.
const dataDir = path.join(__dirname, "data");
// Create an object of the Workbook class
const workbook = new AsposeCells.Workbook();
// Access the first worksheet from the collection
const sheet = workbook.getWorksheets().get(0);
// Add the TextBox to the worksheet
sheet.getTextBoxes().add(6, 10, 100, 200);
// Save. You can check your text box in this way.
workbook.save("result.xlsx", AsposeCells.SaveFormat.Xlsx);
You will get a file similar to the result file. In the file, you will see the following:

Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.