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

Missing leading zeros #696

Open
1 of 4 tasks
psyhlo opened this issue Nov 18, 2024 · 0 comments
Open
1 of 4 tasks

Missing leading zeros #696

psyhlo opened this issue Nov 18, 2024 · 0 comments

Comments

@psyhlo
Copy link

psyhlo commented Nov 18, 2024

Excel Type

  • XLSX
  • XLSM
  • CSV
  • OTHER

Upload Excel File

Router.xlsx
result_0000045299.xlsx
image
image

MiniExcel Version

1.35.0

Description

When i try to export 0000045299 to cell {{LOT}} it written without leading zeros.

class ReportRouter
{
    public string ProductCode { get; set; }
    public string ProductName { get; set; }
    public string LOT { get; set; }
    public string SerNum { get; set; }
    public string REV { get; set; }
    public IEnumerable<Component> Components { get; set; }
}

class Component
{
    public string PartDesc { get; set; }
    public string PartCode { get; set; }
    public string PartRev { get; set; }
    public string PartLOT { get; set; }
    public string PartSN { get; set; }
    public string sProductionRowID { get; set; }
}

And one other when i have image attached to cell and insert data the table expands as it should but the image is not moved and stay in row 7 and must be on row 9

PS
If add ' in front of the number, i'm able to add the zeros but has do some manual work. Open file, click on cell and , to accept it as text and to hide '
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant