Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Deleting a excel column

by NERDVANA (Deacon)
on May 10, 2023 at 00:25 UTC ( [id://11152062] : note . print w/replies, xml ) Need Help??

in reply to Deleting a excel column

Since you said the columns aren't always the same or in order, I'd recommend Data::TableReader to do the work of extracting the ones you care about, and then you can use a variation of your write_excel to write them by name.

Also take a look at Data::Table which makes writing and reading very convenient.