How to delete specific rows or columns in a sheet? #397
Unanswered
DangYi4113
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry, I recently started using this library. The functionality I want is to delete certain rows or columns—for example, deleting rows 5 to 10 (6 rows total), after which the original row 11 becomes row 5, row 12 becomes row 6, and so on. Alternatively, deleting column C would make the original column D become column C, column E become column D, etc. I couldn’t find such functions in xlsxworksheet.h or other files. The workaround I can think of is reading the entire sheet, manually adjusting it, and rewriting it to the file. Is there a better approach?
Beta Was this translation helpful? Give feedback.
All reactions