MS项目在资源使用视图中导航资源和作业
问候。我正在寻找VBA中的代码,该代码允许我在资源使用视图中使用for Next在ResourceField中进行分配的资源,并从TimesCalerange中提取他们的作业信息(右图带有表格信息),in为了能够格式化信息并在决策后导出。
捕获资源用法的捕获视图
我将关注的信息扩展了一点...在捕获中,我呈现资源使用视图,我获取这些信息,并在左侧使用资源列表,我将其复制并粘贴在Excel中;有了这些信息,我创建了我的资源直方图,但是我想通过VBA宏来生成导出过程,因为有几个步骤可以执行(过滤,组织视图的时间表以及导出开始到终点的信息)。
Regards. I am looking for a code in VBA that allows me, in the RESOURCE USAGE view, to go through the resources with assignment in the ResourceField with a FOR NEXT, and extract their assignment information from the TimescaleRange (right panel with tabular information), in order to be able to format the information and export it upon decision.
Capture of the RESOURCE USAGE view
I expand a little the information of my concern... in the capture I present the Resource Usage view, I take that information and with the list of resources on the left, I copy and paste it in excel; With this information I create my resource histogram, but I want to generate the export process through a VBA macro since there are several steps to perform (filtering, organizing the timeline of the view, and exporting the information of start to finish).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该代码将循环通过活动项目中的资源,并按每周逐日获取工作时间。
变量
strvalues
和调试语句用于演示目的。数组workHours
包含可用于直方图的小时的数字表示。This code will loop through the resources in the active project and get work hours by resource by week.
The variable
strValues
and the debug statement are for demonstration purposes. The arrayworkHours
contains the numeric representation of the hours which can be used for the histogram.