带有颜色的盒子的填充单元,作为用定义位置名称填充表的响应
我是Excel宏的初学者。
如果我有一个表格,例如,与具有不同位置的单元格矩阵相对应的位置。我将如何创建一个宏,该宏根据I输入表中的位置(例如1,1:a)会为矩阵的相应单元格上色吗?
这可能很简单,但任何帮助/提示都会对此表示赞赏。
I am a beginner to excel macros.
If I have a table e.g. like this with positions that correspond to a matrix of cells with different positions. How would I create a macro that, based on the position I input into my table (e.g. 1,1:A), would color the corresponding cell of the matrix?
This might be really simple but any help/tips is appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个宏:
范围A1:A14是这些坐标为(1:1,A ...)的范围;
范围E4:i5是表标头所在的地方(在这种情况下为数字);
范围D5:D11是行号的位置(在这种情况下为字母);
内饰500是背景的颜色代码。它也可以是RGB。
Here is a macro for that:
Range A1:A14 is range where those coordinates are (1:1,A...);
Range E4:I5 is where table headers are (numbers in this case);
Range D5:D11 is where row numbers are (letters in this case);
Interior Color 500 is color code of background. It can be RGB too.