Skip to content

Identifier a cell in excel #466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
macahrtur opened this issue Jul 17, 2020 · 7 comments
Closed

Identifier a cell in excel #466

macahrtur opened this issue Jul 17, 2020 · 7 comments
Assignees
Labels
Area: Excel Needs: attention 👋 Waiting on Microsoft to provide feedback Type: product feature request Office JS feature request that should be posted to UserVoice

Comments

@macahrtur
Copy link

Hello,
For our project is necessary can identifier a cell of excel (for example through a Id, tag or similar)

We are using the cell position for assign a name to one table. If add or delete a column in the sheet the cell position change and we are not able identifier the tableName.

how can we set/get a property unique for the cell?

Best Regards

@ghost ghost added the Needs: triage 🔍 New issue, needs triage ASAP label Jul 17, 2020
@AlexJerabek
Copy link
Contributor

Hi @macahrtur,
Thank you for your question. Let me do some research and get back to you soon.

@AlexJerabek AlexJerabek self-assigned this Jul 20, 2020
@AlexJerabek AlexJerabek added Area: Excel Status: under investigation Issue is being investigated Type: snippet request Request for new snippet or updates/enhancements to existing snippet and removed Needs: triage 🔍 New issue, needs triage ASAP labels Jul 20, 2020
@AlexJerabek
Copy link
Contributor

Hi @macahrtur,

Have you tried using NamedItems? You can assign an identifier to a Range and recall it later using a unique identifier.

Here's a Script Lab snippet that shows how to track a cell that's moved in the worksheet because of a deleted column: https://gist.github.com/AlexJerabek/dad115c3361d2e17527aeb0c93900da1

Please let me know if that helps.

@AlexJerabek AlexJerabek added Needs: author feedback Waiting for author (creator) of Issue to provide more info and removed Status: under investigation Issue is being investigated labels Jul 20, 2020
@macahrtur
Copy link
Author

Thanks Alex...

We have tried use NamedItems but not able identify the name selecting the cell, we need know the nameditem selecting the cell.

We need set some property to cell, next delete row and columns. Next we need get that property selecting the cell.

Thanks

@ghost ghost added Needs: attention 👋 Waiting on Microsoft to provide feedback and removed Needs: author feedback Waiting for author (creator) of Issue to provide more info labels Jul 20, 2020
@AlexJerabek
Copy link
Contributor

Thanks @macahrtur.

@lumine2008 or @keyur32, is the functionality needed here possible with the Excel APIs today?

@macahrtur
Copy link
Author

Hello...
any news on this? We following with this issue.

Thanks

@AlexJerabek
Copy link
Contributor

Hi @macahrtur,
I'll ping the product team internally for a response. In the meantime, consider posting a question on Stack Overflow, using the "office-js" tag. That will be more visible to the larger add-ins community.

@AlexJerabek AlexJerabek added Type: product feature request Office JS feature request that should be posted to UserVoice and removed Type: snippet request Request for new snippet or updates/enhancements to existing snippet labels Jul 23, 2020
@AlexJerabek
Copy link
Contributor

Here's the link to the Stack Overflow question and answer: https://stackoverflow.com/questions/63039555/tracking-a-cell-in-excel-js

To reiterate what Raymond said there, there are a couple potential workarounds, but it sounds like you need a Range metadata feature that's not in the product. You can add a request on UserVoice, so others can upvote the idea and help prioritize it.

I'm going to close this issue, as there's nothing that can be done in the samples repo to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Excel Needs: attention 👋 Waiting on Microsoft to provide feedback Type: product feature request Office JS feature request that should be posted to UserVoice
Projects
None yet
Development

No branches or pull requests

2 participants