I am pretty new to Office Add-ins with Javascript API, currently i am coding for Excel 2013. I want to get the Cell address for a given Excel Named Range. i have the below code which will give me Columns and Rows count, but do not have an option to get the Start Col number or Row number. Please help
function GetRangeAddress() {
Office.context.document.bindings.addFromNamedItemAsync("myRange", "matrix", { id: 'myMatrix' }, function (result) {
if (result.status == 'succeeded') {
write('Columns: ' + result.value.columnCount + ' Rows: ' + result.value.rowCount );
}
else
write('Error: ' + result.error.message);
});
}