Skip to content

How to format XLSX cells? #983

Answered by jqnatividad
ondohotola asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ondohotola ,
First off, I moved your query to Discussions so other people who may have the same question can more easily find it in the future.

To your query, we do have the to xlsx subcommand, but that doesn't handle your current situation.

Though it uses the xlsxwriter crate that does support specifying both formats and formulas, I think its out of scope for the to command.

What you may want to do is add either luau or py to your pipeline and implement the format there, before converting the CSV to xlsx.

Python's f-string expressions are particularly powerful and easy to use.

Luau's string interpolation feature can also be leveraged for this issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jqnatividad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #982 on May 19, 2023 11:33.