Share via

ExcelScript.ConditionalRangeFill interface can't manage pattern ?

Anonymous
2024-06-26T15:10:49.06+00:00

The ConditionalRangeFill interface don't include .setPattern() as a valid fonction : Documentation

In contrary, the RangeFill interface include .setPattern() and even .setPatternColor() as valid fonction : Documentation

By using excel menu, you can set a pattern on a conditional range so this is a feature of excel.

image

Can you add this to Office script API ?

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2024-06-26T15:10:49.0866667+00:00

    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:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.