Office中國(guó)論壇/Access中國(guó)論壇

 找回密碼
 注冊(cè)

QQ登錄

只需一步,快速開始

Excel中如何編程判斷字符顏色

1970-1-1 08:00| 發(fā)布者: 未知| 查看: 4337| 評(píng)論: 0

 
    If Sheets(1).[a1].Font.Color = vbYellow Then
        MsgBox "Yellow!"
    ElseIf Sheets(1).[a1].Font.Color = vbRed Then
        MsgBox "red!"
    Else
        Exit Sub
    End If

最新評(píng)論

相關(guān)分類

QQ|站長(zhǎng)郵箱|小黑屋|手機(jī)版|Office中國(guó)/Access中國(guó) ( 粵ICP備10043721號(hào)-1 )  

GMT+8, 2025-7-13 07:55 , Processed in 0.055119 second(s), 16 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

返回頂部