一组重复性任务 [英] Sets of recurring tasks

查看:64
本文介绍了一组重复性任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几组任务需要重复多次。基本上,每隔几天就要完成许多任务。所以它有点像需要在主项目中重新运行20次的子项目。

I have a few sets of tasks that need to be repeated a number of times. Basically it's a number of tasks that have to be completed every few days. So it's sort of like a sub-project that needs to be rerun 20 times within the main project.

我真的不希望子项目中继器中的50行主要20次项目。主要原因是如果我必须更改子项目,我不想更改它20次。

I really don't want the 50 rows in the subproject repeater 20 times in the main project. Main reason is that if I have to change the subproject, I don't want to have to change it 20 times.

我知道我可以创建一个定期的单个任务,有没有办法创建一组重复的任务?

I know that I can create a recurring single task, is there any way to create a recurring set of tasks?

谢谢

Ed

推荐答案

ewoodrick,

ewoodrick,

实际上,您引用的重复单个任务是一组任务。定期任务显示为一个摘要行,每个重复元素作为其下的子任务。

Actually the recurring single task you refer to is a set of tasks. The recurring task shows up as a summary line with each recurrence element as a subtask under it.

我认为你希望能够灵活地在主要文件中包含重复集的多个副本文件,但能够更改基本集的参数,并将该更改传播到所有实例。它可以通过一些VBA来完成,但这里有另一个
的方法可行,虽然它仍然需要一些手动的努力。

I take it you want to have the flexibility to have multiple copies of the recurring set in you main file but be able to change parameters of the basic set and have that change propagate to all instances. It could be done with some VBA but here's another approach that will work, although it still will require some manual effort.

创建基本集的最明显的方法是创建一个模板。然后将该模板多次添加到主文件中。不幸的是,插入项目功能不允许添加相同的"子项目"。不止一次成为动态大师。
但是,您可以静态添加它(即,在插入时取消选中"链接到项目"),然后根据需要重复插入多次。可能有点乏味但也许可以通过记录一次执行
的宏来自动化,然后多次扩展该宏(例如在循环中)。此方法使您能够仅更改模板文件以重构基本任务集。但是,在更改为基本集之后,您需要在
之前清除所有插入组的主文件。

The most obvious way to create the basic set is to create a template. Then add that template multiple times to your main file. Unfortunately the Insert Project feature does not allow adding the same "subproject" more than once to a dynamic master. However, you could add it statically (i.e. uncheck the "link to project" when inserting), and then repeat that insertion as many times as you need. Could be a little tedious but perhaps that could be automated by recording a macro of doing it once and then expand that macro for the multiple times (e.g. in a loop). This approach gives you the ability to only change the template file to restructure your basic set of tasks. However, you would need to purge your main file of all the inserted groups before you go through the process after a change to the basic set.

顺便说一下,VBA我在第一段中提到的方法与我在第二段中提到的录制宏不同。最灵活的VBA方法允许您只修改主文件中的一组基本任务,然后
让宏代码找到并将这些更改传播到主文件中的所有其他实例。

By the way, the VBA approach I mentioned in my first paragraph is not the same as the recorded macro I refer to in the second paragraph. The most flexible VBA approach would allow you to modify just one of the basic set of tasks in the main file, and then have the macro code find and propagate those changes to all other instances in the main file.

希望这会有所帮助。

John


这篇关于一组重复性任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆