为excel列着色 [英] Color the excel column

查看:68
本文介绍了为excel列着色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


如何更改列颜色 现在是绿色我会改为黑色

解决方案

pehci,

re: 列颜色



第3列...

 范围("C:C")。Interior.Color = vbBlack


并将颜色更改回默认值(无颜色)...

  ;列(3).Interior.ColorIndex = -4142

'--- $
Jim Cone

美国俄勒冈州波特兰市
https://goo.gl/IUQUN2  (收存箱)

hi

how to change the column colour   Now is green I would change to black

解决方案

pehci,
re:  column color

For the 3rd column...
  Range("C:C").Interior.Color = vbBlack

And to change color back to the default (no color)...
  Columns(3).Interior.ColorIndex = -4142

'---
Jim Cone
Portland, Oregon USA
https://goo.gl/IUQUN2 (Dropbox)


这篇关于为excel列着色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆