Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
The ConditionalRangeFill interface in ExcelScript does not include a setPattern() function. However, the RangeFill interface does include setPattern() and setPatternColor() functions. While it is possible to set a pattern on a conditional range using the Excel menu, this feature is not currently available in the Office Script API.
References: