简体   繁体   English

VBA公式_Excel_Formulas

[英]VBA formulas_Excel_Formulas

Can someone please advise me on how the actual VBA formulas used to generate a pie chart? 有人可以建议我如何使用实际的VBA公式生成饼图吗?

I would like 3 reports: 我想要3个报告:

  1. To show me Tasks completed, tasks not yet started and tasks in progress 向我显示任务已完成,尚未开始的任务和正在进行的任务
  2. Project days passed and project days left 项目日过去,项目日还剩
  3. Behind schedule tasks - started , behind schedule tasks - not yet started and scheduled tasks 在计划任务之后-已开始,在计划任务之后-尚未开始和计划任务

All I can see is =SERIES(,Hidden!$M$89:$M$91,Hidden!$N$89:$N$91,1) . 我所看到的就是=SERIES(,Hidden!$M$89:$M$91,Hidden!$N$89:$N$91,1)

I would have uploaded a sample but I don't know how. 我本该上传一个样本,但我不知道如何。

Your support is greatly appreciated. 您的支持是极大的赞赏。

Thanks 谢谢

You don't need VBA to make the pie chart, and you'll find it much easier to use the built-in PivotTable and PivotChart features to do so. 您不需要VBA来制作饼图,并且会发现使用内置的PivotTable和PivotChart功能更加容易。

Please take a look at this Microsoft site for an overview and examples. 请访问此Microsoft网站以获取概述和示例。 And try a web search of "Excel pie chart pivot table" if you'd like to research it further. 如果您想进一步研究,请尝试在网络上搜索“ Excel饼图数据透视表”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM