Skip to content
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

Support for Setting Cell Values by Position in ISheet #1190

Closed
2 tasks
Silence-Qiu opened this issue Sep 20, 2023 · 1 comment
Closed
2 tasks

Support for Setting Cell Values by Position in ISheet #1190

Silence-Qiu opened this issue Sep 20, 2023 · 1 comment

Comments

@Silence-Qiu
Copy link

Silence-Qiu commented Sep 20, 2023

File Type

  • XLSX
  • XLS

Use Case

int x = 0;
int y = 0;
object value = "Hello npoi!";

ISheet sheet = workbook.CreateSheet("sheet");
sheet.SetPointValue(x, y, value);

Description

In the process of using NPOI for Excel file operations, the current approach of manually creating rows and columns and then setting cell values becomes cumbersome and time-consuming, especially when dealing with large datasets. I would like to propose the addition of a more convenient feature to NPOI that allows users to set cell values based on cell positions, thus improving efficiency.

@tonyqus
Copy link
Member

tonyqus commented Jan 9, 2024

This looks to be a nice-to-have feature. If you are willing to create a PR, I will review the code.

@tonyqus tonyqus closed this as completed May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants