How do I get cell number and sheet name of excel by office.js Office.initialize?

Asked
Active3 hr before
Viewed126 times

3 Answers

sheetnumber
90%

The Workbook object is the entry point for your add-in to interact with Excel. It maintains collections of worksheets, tables, PivotTables, and more,.,A Worksheet contains collections of those data objects that are present in the individual sheet, and gives access to cells through Range objects.,If there is no worksheet with that name, the activate() method throws an the cell that is located in row 2, column 5 of the worksheet named.

Pretag
 Pretag team - issue, fix, solve, resolve
88%

MS Excel columns have a pattern like A, B, C, …, Z, AA, AB, AC, …., AZ, BA, BB, … ZZ, AAA, AAB ….. etc. In other words, column 1 is named as “A”, column 2 as “B”, column 27 as “AA”.Given a column number, find its corresponding Excel column name. The following are more examples.,Find Excel column name from a given column number,Find Excel column number from column title

72%

About the Mobile Automation Activities Pack,About the UIAutomation Activities Pack,About the UIAutomationNext Activities Pack

Pretag
 Pretag team - issue, fix, solve, resolve

Other "sheet-number" queries related to "How do I get cell number and sheet name of excel by office.js Office.initialize?"