Forum Discussion
Remove strikethrough formatted characters in a cell
- Oct 09, 2024
getFont() is applied to entire cell, and .getFont().getStrikethrough() returns true if entire cell is strikethrough formatted, false if entire cell has no such format and null if it is partially formatted.
OfficeScript doesn't work with partial formatting, that is confirmed here typescript - Office Scripts - Excel: format part of strings - Stack Overflow
getFont() is applied to entire cell, and .getFont().getStrikethrough() returns true if entire cell is strikethrough formatted, false if entire cell has no such format and null if it is partially formatted.
OfficeScript doesn't work with partial formatting, that is confirmed here typescript - Office Scripts - Excel: format part of strings - Stack Overflow
- afhamiltonOct 09, 2024Copper ContributorThanks Sergei! That sucks, hopefully Microsoft starts to support this sometime in the near future.
- SergeiBaklanOct 10, 2024Diamond Contributor
afhamilton , you are welcome. Yes, hope it'll be done.