Is it possible to set a style for an excel cell if setting attributes dynamically?
@egomm you can set the style for a specific cell using the ExcelStyler or using the attribute xlsx_row_formatting. See the Excel documentation on Formatting. If you could include a small example of what you're trying to accomplish then someone might be able to give you more ideas, or we could make improvements to FME if needed.
My writer currently looks like this.
The schema source is "Schema From Schema Feature" which is being generated within the workspace as the attributes to write out are generated from the data within the workflow. Adding the attributes into the schema, e.g. colA.formatting doesn't appear to work. I can't set them as attributes in the writer as they need to be dynamic, i.e. if colC exists i want to format it but sometimes col C doesn't exist.
I have a workaround, which uses multiple template files and named ranges, but it's not very elegant.
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.