docjure icon indicating copy to clipboard operation
docjure copied to clipboard

Applying styles to multiple sheets?

Open midijohnny opened this issue 3 years ago • 1 comments

Does anybody have an example of how to apply styles to multiple sheets?

Basically - I need the first row of every sheet (I don't necessarily know the names of the sheets-so need to iterate) to be bolded.

I was able to modify the existing example to do this - but only in the REPL - couldn't work out how to this within a function.

I am probably going about this the wrong way - so just wanted a example to put me on the right path.

I'm creating a spreadsheet using:

(apply create-spreadsheet ...) where "..." is structure that matches what is needed by the function. (That bit works). But then I need to iterate the created sheets in the workbook - and then apply styles.

Thanks

  • Great library by the way.

midijohnny avatar May 01 '21 20:05 midijohnny

I don't have an example for that, but when I will be happy to add it to the examples when you are done since it seems like a common use-case.

mjul avatar May 07 '21 08:05 mjul