通过VBA自定义Excel中的图表 [英] Customize a Chart in excel via VBA
本文介绍了通过VBA自定义Excel中的图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello Everybody !!。
我在VBA项目中工作,如果有人能告诉我如何自定义图表,我真的很感激(单独操作每个元素,或系列集合的列,给他们一个不同的颜色,高度,宽度等....),或给我一个关于在哪里找到它的详细信息的提示。
当然我一直在寻找它,但我真的需要节省时间。
来自MéxicoCity的奖励!!!!
Hello Everybody !!.
I´m working in a project with VBA and I´d really appreciate if somebody could show me how to customize a chart (manipulate individually each element, or column of the seriescollection, give them a different color, height, width, etc ....), or give me a tip about where to find detailed information about it.
Of course I´d been looking for it, but I really need to save time.
Greatings from México City !!!!
推荐答案
实际上,您需要做的就是记录一个执行各种各样事情的宏你想要的图表。然后你可以看到做你想要的代码。
Actually, all you need to do is record a macro doing all the various things to a chart that you want to. Then you can see the code necessary to do what you want.
在哪里可以找到它的详细信息?
例如,这里:图表对象(Excel) [ ^ ]
请参阅此处的示例:使用Visual Basic在Excel 2003中创建图表对于应用程序代码 [ ^ ]
这篇关于通过VBA自定义Excel中的图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文