Share via

Copy/Paste of long list of resources truncates list in MS Project

Anonymous
2020-04-17T15:54:27+00:00

I'm using the latest (as of 2020-04-17) version of Project Professional on WIndows 10.

I have a set of 19 resources for a task. When I copy that list from the Gantt chart view and paste into another task, the list is truncated in the task into which the resource list was pasted. Only the first 14 are copied, the 15th one gets truncated after the 2nd character, followed by an ellipsis (...). The truncated name now appears in the resource list as An..., which is the first two real characters of that person's name followed by elipsis, so it shows up as "An...".

Given that ALL of the other information is copied (i.e. Units are copied) for those names copied correctly, this seems to be based on the number of entries AND the length of the names.

If I rename the first entry, so it goes to the end of the list, and then copy the resources, I get first three (3) characters of new last name in the list where as I only got 2 before.

12345 789ABCD -- old first name in list was 13 chars long led to An... as last name shown

1234 6789 -- new first name is only 9 characters long leads to Sar... as last name shown

I shortened all resources to just last names and it seems to work OK.

Any ideas on what's going on?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

John Project 49,705 Reputation points Volunteer Moderator
2020-04-17T17:01:50+00:00

Lewis Collier,

The Resource Names field is a text based field and like all other text based fields in Project, it is limited to 255 characters when attempting a copy/paste. Also, bear in mind that if resources are assigned at less than full time (i.e. 100%), the assignment level (e.g. [50%]) becomes part of the string count for each resource name.

Here are a couple of options. Instead of trying to copy/paste all the resources from one task to another, use the Assign Resources window for the new task. That is better practice anyway.

The other option is to shorten the resource names so that when combined, the total number of characters is less than 255 characters.

Well actually, there is one other way, use VBA to copy the names.

Hope this helps.

John

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

6 additional answers

Sort by: Most helpful
  1. John Project 49,705 Reputation points Volunteer Moderator
    2020-04-17T22:18:05+00:00

    Lewis,

    I don't quite understand how your 19 resources relate to accounting periods. Are you trying to do accounting months, like a 4-4-5 sequence? If so, Project has never provided that option, but it can be done with some VBA, I've done it.

    It sounds like your 19 engineers is a perfect scenario for using group resources. Even if the engineers are broken down into separate types (e.g. electrical, mechanical, etc.), you can still set up engineering groups. For example, let's say you have 7 electrical engineers, 7 mechanical engineers and 5 system engineers. Create an Elect Engr resource with Max Units 700%, Mech Engr the same and Sys Engr at 500%. Now you only have 3 "resources" to assign to the tasks.

    John

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-04-17T20:13:16+00:00

    Lewis Collier,

    You're welcome and thanks for the feedback.

    Note that I said, "it is limited to 255 characters when attempting a copy/paste". That limitation does not apply if you use VBA. The Resource Names field itself does not have the limitation. For example the specification for Project 2016 states you can have 60,000,000 units per assignment, slightly more than your 19. However, the extra text fields (i.e. Text1 through Text30) are limited to 255 characters whereas the Notes field has no specified limitation.

    Yes, using Assign Resources would require a little effort but it's hard to imagine you have a large number of tasks with that many resources. If you do, maybe the use of group resources (e.g. "carpenters" instead of Tom, ****, Harry, etc.) would make more sense.

    John

    John,

    Thanks for clarifying my misunderstanding. 

    This is a special case where I am doing accounting periods rather than normal tasks, thus the large list per task; I have 19 folks from engineering on each "task", which represents a four-week accounting period. Yes, normally I would not have the need for such a structure, but, you know how accountants are: they want things in their format :)

    Thanks again for the clarifying remarks.

    Lewis...

    Was this answer helpful?

    0 comments No comments
  3. John Project 49,705 Reputation points Volunteer Moderator
    2020-04-17T20:02:42+00:00

    Lewis Collier,

    You're welcome and thanks for the feedback.

    Note that I said, "it is limited to 255 characters when attempting a copy/paste". That limitation does not apply if you use VBA. The Resource Names field itself does not have the limitation. For example the specification for Project 2016 states you can have 60,000,000 units per assignment, slightly more than your 19. However, the extra text fields (i.e. Text1 through Text30) are limited to 255 characters whereas the Notes field has no specified limitation.

    Yes, using Assign Resources would require a little effort but it's hard to imagine you have a large number of tasks with that many resources. If you do, maybe the use of group resources (e.g. "carpenters" instead of Tom, ****, Harry, etc.) would make more sense.

    John

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-04-17T17:17:56+00:00

    Lewis Collier,

    The Resource Names field is a text based field and like all other text based fields in Project, it is limited to 255 characters when attempting a copy/paste.

    Here are a couple of options. Instead of trying to copy/paste all the resources from one task to another, use the Assign Resources window for the new task. That is better practice anyway.

    The other option is to shorten the resource names so that when combined, the total number of characters is less than 255 characters.

    Well actually, there is one other way, use VBA to copy the names.

    Hope this helps.

    John

    John,

    Thanks for the details of the limitation. I figured it was something like that. I still don't know how it can copy just the names that way but retain the other information for the names it does copy. This seems like elementary coding practice, though, to copy a list of items that way, but I understand the MS-Project is an old code base. Ugh.

    But, wait, how does it actually store all the names in the first task if the limit is 255 chars?

    Using the Assign resources window is not an option. That would require me to re-type all 19 resources, which is what I am trying to avoid by copying.

    I did shorten the names to get past this.

    Thanks for the reply.

    Was this answer helpful?

    0 comments No comments