简体   繁体   中英

How to Change Font Color Excel after generate from VB 6

.Worksheets("PERSONAL TARGET").CELLS(iRow, 1).Value = "Sales" & "(" & sMyDate & ")"

Upstair is my return value

-the code is vb 6 code

How to change the font color to red

Thank you.

请尝试以下操作:

.Worksheets("PERSONAL TARGET").CELLS(iRow, 1).Font.Color = vbRed

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