Returns an object that represents the selected range.
This method doesn't have any parameters.
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); oWorksheet.GetSelection().SetValue("selected"); builder.SaveFile("xlsx", "GetSelection.xlsx"); builder.CloseFile();