简体   繁体   中英

How to table cell value font color change VBA word? Font.Textcolor not working why?

Change table cell value font color without using colorindex. But Font.Textcolor not working why?.I am using 2013 word.the error comes(Object does not support this action)

TextColor is Read-Only.

https://msdn.microsoft.com/en-us/VBA/Word-VBA/articles/font-textcolor-property-word

You can use this:

ActiveDocument.Tables(1).Cell(1, 1).Range.Font.Color = RGB(68, 114, 196)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM