热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

msproject导出导excel

1)普通导出,在使用数据时选择使用数据的栏位2)导出甘特图项目(refs:https:github.comPopovGPExport-MS-Proje

1)普通导出,在使用数据时选择使用数据的栏位

2)导出甘特图+项目(refs:https://github.com/PopovGP/Export-MS-Project-to-MS-Excel)

3)导出资源使用图(https://www.tek-tips.com/viewthread.cfm?qid=1545124)

理论上和1)的导出有另一个模板可用。如下是另一个方法:

There's no quick-and-easy way so you're going to have to print out this page to follow the steps. You could write some VBA code to push it from Project to Excel. I haven't explored that avenue so I don't know if it's easy or difficult. Since you'll be working with TimeScaleData I know it won't be easy.The alternative is to do two copy-and-paste operations from Project into Excel and then do some formatting in Excel.As lengthy as they may seem, they are very quick and easy -- I do something quite similar to this every week for several projects and it takes me 15 minutes in total to do all the projects.In Project:View > Resource usage
Applying the Group By conditions from my earlier message.On the left side:
Insert "Group by Summary" column
Insert "Assignment" column
Insert "Project" column
Insert/Delete any other columns you want.
Select all the data displayed on the left
Copy
Switch to ExcelIn Excel:
paste the data starting in row 2.
In row 1 type in the column headings.
Switch back to projectIn Project:
On the right side:
Set up the Timescale so that it displays what you want
Select all the data displayed on the right
Copy
Switch to ExcelIn Excel:
Paste the data in row 2 to the right of the existing data.
The data will show as if it has been selected. Click on Edit > Replace and change the units (I usually show "d" for days) to "" so that you only see numbers.
In row 1 type in the Timescale dates.Select all the data on the Excel screen
Click on the AutoFilter button to turn Autofilter onNow comes the boring stuff. I am presuming that you have labelled the columns in the Excel sheet with the same names that were in the Project display.1. In the "Group By Summary" column in the Excel sheet, use the AutoFilter triangle at the column top and select the rows that are "Yes". Set those rows to bold.2. With the "Group By Summary" column still set to "Yes", in the "Project" column use the AutoFilter triangle at the column top and select "NonBlanks". In the "Resource Name" column, indent the displayed cells by 1 position.3. Set the Auto-filter settings for both the "Group By Summary" column and the "Project" column to "All". 4. In the "Group By Summary" column, use the AutoFilter triangle at the column top and select the rows that are "No". In the "Resource Name" column, indent the displayed cells by 2 positions.5. In the "Group By Summary" column, use the AutoFilter triangle at the column top and select the rows that are "Blank". In the "Resource Name" column, indent the displayed cells by 3 positions and change them to Italic.6. In the "Group By Summary" column, use the AutoFilter triangle at the column top and select the rows that are "NonBlank". On the right side (where the hours or days are displayed) set the cell background to pale yellow.

4)使用导出excel,选用”谁在做什么“模板。

5)office vba脚本学习。

https://docs.microsoft.com/zh-cn/office/vba/api/project.object

 

 


推荐阅读
  • IhaveconfiguredanactionforaremotenotificationwhenitarrivestomyiOsapp.Iwanttwodiff ... [详细]
  • 本文介绍了在Vue项目中如何结合Element UI解决连续上传多张图片及图片编辑的问题。作者强调了在编码前要明确需求和所需要的结果,并详细描述了自己的代码实现过程。 ... [详细]
  • 本文详细介绍了MySQL表分区的创建、增加和删除方法,包括查看分区数据量和全库数据量的方法。欢迎大家阅读并给予点评。 ... [详细]
  • 模板引擎StringTemplate的使用方法和特点
    本文介绍了模板引擎StringTemplate的使用方法和特点,包括强制Model和View的分离、Lazy-Evaluation、Recursive enable等。同时,还介绍了StringTemplate语法中的属性和普通字符的使用方法,并提供了向模板填充属性的示例代码。 ... [详细]
  • 本文介绍了如何使用PHP代码将表格导出为UTF8格式的Excel文件。首先,需要连接到数据库并获取表格的列名。然后,设置文件名和文件指针,并将内容写入文件。最后,设置响应头部,将文件作为附件下载。 ... [详细]
  • 手把手教你使用GraphPad Prism和Excel绘制回归分析结果的森林图
    本文介绍了使用GraphPad Prism和Excel绘制回归分析结果的森林图的方法。通过展示森林图,可以更加直观地将回归分析结果可视化。GraphPad Prism是一款专门为医学专业人士设计的绘图软件,同时也兼顾统计分析的功能,操作便捷,可以帮助科研人员轻松绘制出高质量的专业图形。文章以一篇发表在JACC杂志上的研究为例,利用其中的多因素回归分析结果来绘制森林图。通过本文的指导,读者可以学会如何使用GraphPad Prism和Excel绘制回归分析结果的森林图。 ... [详细]
  • vue使用
    关键词: ... [详细]
  • Google Play推出全新的应用内评价API,帮助开发者获取更多优质用户反馈。用户每天在Google Play上发表数百万条评论,这有助于开发者了解用户喜好和改进需求。开发者可以选择在适当的时间请求用户撰写评论,以获得全面而有用的反馈。全新应用内评价功能让用户无需返回应用详情页面即可发表评论,提升用户体验。 ... [详细]
  • 解决VS写C#项目导入MySQL数据源报错“You have a usable connection already”问题的正确方法
    本文介绍了在VS写C#项目导入MySQL数据源时出现报错“You have a usable connection already”的问题,并给出了正确的解决方法。详细描述了问题的出现情况和报错信息,并提供了解决该问题的步骤和注意事项。 ... [详细]
  • [大整数乘法] java代码实现
    本文介绍了使用java代码实现大整数乘法的过程,同时也涉及到大整数加法和大整数减法的计算方法。通过分治算法来提高计算效率,并对算法的时间复杂度进行了研究。详细代码实现请参考文章链接。 ... [详细]
  • 本文详细介绍了如何使用MySQL来显示SQL语句的执行时间,并通过MySQL Query Profiler获取CPU和内存使用量以及系统锁和表锁的时间。同时介绍了效能分析的三种方法:瓶颈分析、工作负载分析和基于比率的分析。 ... [详细]
  • Day2列表、字典、集合操作详解
    本文详细介绍了列表、字典、集合的操作方法,包括定义列表、访问列表元素、字符串操作、字典操作、集合操作、文件操作、字符编码与转码等内容。内容详实,适合初学者参考。 ... [详细]
  • 海马s5近光灯能否直接更换为H7?
    本文主要介绍了海马s5车型的近光灯是否可以直接更换为H7灯泡,并提供了完整的教程下载地址。此外,还详细讲解了DSP功能函数中的数据拷贝、数据填充和浮点数转换为定点数的相关内容。 ... [详细]
  • IOS开发之短信发送与拨打电话的方法详解
    本文详细介绍了在IOS开发中实现短信发送和拨打电话的两种方式,一种是使用系统底层发送,虽然无法自定义短信内容和返回原应用,但是简单方便;另一种是使用第三方框架发送,需要导入MessageUI头文件,并遵守MFMessageComposeViewControllerDelegate协议,可以实现自定义短信内容和返回原应用的功能。 ... [详细]
  • 如何用JNI技术调用Java接口以及提高Java性能的详解
    本文介绍了如何使用JNI技术调用Java接口,并详细解析了如何通过JNI技术提高Java的性能。同时还讨论了JNI调用Java的private方法、Java开发中使用JNI技术的情况以及使用Java的JNI技术调用C++时的运行效率问题。文章还介绍了JNIEnv类型的使用方法,包括创建Java对象、调用Java对象的方法、获取Java对象的属性等操作。 ... [详细]
author-avatar
zy一生的最爱_149
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有