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

Failed to proceed PropertyGet on Excel.Worksheet=>UsedRange. #337

Open
az6161311 opened this issue Dec 20, 2021 · 1 comment
Open

Failed to proceed PropertyGet on Excel.Worksheet=>UsedRange. #337

az6161311 opened this issue Dec 20, 2021 · 1 comment

Comments

@az6161311
Copy link

az6161311 commented Dec 20, 2021

error file:
8B4BL048A01.xls

error img:
image

Workbook workbook = application.Workbooks.Open(template_filePath, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing); Worksheet worksheet = (Worksheet)workbook.Worksheets[1]; var rowsCount = worksheet.UsedRange.Rows.Count; /* **current row error** */ var columnsCount = worksheet.UsedRange.Columns.Count;

@az6161311
Copy link
Author

Are there any updates?

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