Excel​随意选定区域背景色太淡,怎么加深底色

2025-10-02 18:10:20

1、 1,按ALT+F11键,弹出框

Excel​随意选定区域背景色太淡,怎么加深底色

2、2,VBAProject--单击需要修改背景色的表单,复制如下代码:

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)

    On Error Resume Next

    Cells.FormatConditions.Delete

    iColor = 35

    With Target.FormatConditions

        .Delete

        .Add xlExpression, , "TRUE"

        .Item(1).Interior.ColorIndex = iColor

    End With

End Sub

Excel​随意选定区域背景色太淡,怎么加深底色

3、点击保存,退出。随意选定区域背景色加深了

Excel​随意选定区域背景色太淡,怎么加深底色

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢