Good morning,
I have been using the Cloudmersive connectors to read excel spreadsheets that do not have a table.
All working well however I have hit a small issue that has stumped me.
I have the following and have not worked out a way to resolved it - so I ask the collective wisdom......
Here is the data for a cell (it is the top left cell)
{
"Path": "[root]:[5](sheetData):[0](row):[0](c)",
"TextValue": "First Name",
"CellIdentifier": "A1",
"StyleIndex": 67,
"Formula": null
}
I would like to get a column/row value for the cell.
There are two data items in the cell to get the data - CellIdentifier = A1 or the Path data item Path": "[root]:[5](sheetData):[0](row):[0](c).
Essentially I would like to convert either of these to two variables/compose outputs such as Column= Either A (from CellIdentifier) or 0 (from path).
In a similar fashion I would like to get the row as either 1 (from CellIdentifier) or 0 (from Path).
I could substring the cell identifier however this assumes that I would have less than 26 columns (A-Z) - I would prefer a more generalised solution so it could decode a cell reference AA42 correctly - thinking about it it would probably be better to decode the path data item!
Any thoughts?
Stan

Report
All responses (
Answers (