Apply formating using script on attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 10:58 PM - edited 01-16-2024 10:59 PM
Hello,
I am generating an attachment of type excel using
I want to add some formatting/formula to it.
Can we do it using script so that when user downloads the file, data is displayed based on the formatting ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 01:54 AM
It sounds like you're looking to add some formatting or formulas to the Excel file you're generating using GlideSysAttachment().write(). While GlideScript itself doesn’t provide direct methods for adding Excel formulas or formatting, you can actually use an approach with Excel's built-in XML format (xlsx) to insert formulas or apply styles.

