如何使用VBA将Excel 2007中的单元格透明化 [英] How to use VBA to make a cell in Excel 2007 transparent

查看:305
本文介绍了如何使用VBA将Excel 2007中的单元格透明化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前有:

Range("Z1").Interior.Color = RGB(255, 255, 255)

但是这会清除单元格的边框。相反,我只想将单元格的透明度设置为1.0。 文档似乎建议不存在(?)。

But this wipes out the borders of the cells. Instead I'd just like to set the transparency of the cells in range to 1.0. The docs seem to suggest it doesn't exist (?).

谢谢!

推荐答案

Range(Z1)。Interior.ColorIndex = xlNone

这篇关于如何使用VBA将Excel 2007中的单元格透明化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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