Import outline level from Excel to Project

J

Janer

I am using MS Project Pro 2003, and have a file in Excel with column 1
looking like this:
1
1.1
1.1.1
1.1.2
1.1.3
1.2
2

etc.
Even though I have mapped this to a Outline Level in the dialog box in
Project, I am still getting a flat level in the resulting Project plan.

What am I doing wrong?
thanks in advance
 
J

Jan De Messemaeker

Hi,
Outline Level is the level, not the Outline Number
You should import
1
2
3
3
3
2
1
....

Which is what you get when you export Outline Level instead of Outline
number.
HTH
 
J

Janer

Jan,
Thanks. However, I don't have the
1
2
3
3
2

I have the
1
1.1.
etc.

Isn't there some way to get Project to understand that schema?
 
J

John

Janer said:
Jan,
Thanks. However, I don't have the
1
2
3
3
2

I have the
1
1.1.
etc.

Isn't there some way to get Project to understand that schema?

Janer,
I think was Jan was trying to tell you is that the indenture is
controlled by the Outline Level not the Outline number. Unless you want
to use VBA, I suggest you add an outline level column to your Excel
worksheet. Then your import will have the indenture you want.

John
Project MVP
 
J

Janer

Thanks so much for your help on this. I apologize for not making it clear.
On project A I added the Outline Number column and it filled in what I
expected:
1
1.1
1.1.1
1.1.2
2

etc.

I opened a blank project, B, and added the same column, Outline Number.
Then I File-Open a new file, asking it to add to the current, and mapped what
should be the outline in the Excel sheet to that column, Outline Number. And
I get
1
2
3
4
5
etc.

AAUUGGGHH! Please continue to try and help me with this please. I'd like
to link these files since half of our PMs don't use Project and I do.
 
J

John

Janer said:
Thanks so much for your help on this. I apologize for not making it clear.
On project A I added the Outline Number column and it filled in what I
expected:
1
1.1
1.1.1
1.1.2
2

etc.

I opened a blank project, B, and added the same column, Outline Number.
Then I File-Open a new file, asking it to add to the current, and mapped what
should be the outline in the Excel sheet to that column, Outline Number. And
I get
1
2
3
4
5
etc.

AAUUGGGHH! Please continue to try and help me with this please. I'd like
to link these files since half of our PMs don't use Project and I do.

Janer,
That's why we like Project so much. It frustrates the heck out of people
so they come crawling to us for help. Man, what power....... :)

Just kidding. I share your frustration. Of all the Office applications,
Project is the most user-unfriendly and sometimes difficult to
understand. Even though you may have a column on your Excel Worksheet
that represents the outline number, unless you also have another column
for the corresponding outline level, the outline number will not come
across as you expect. For example, you should have the following in
Excel:
Outline Lev Outline Num
1 1
2 1.1
3 1.1.1
3 1.1.2
1 2

Now if you import those fields, along with the rest of the data, you
will have the hierarchy you want in Project.

Hope this helps.
John
Project MVP
 
J

Janer

Well that was certainly user-hateful! I did get this to work, as you stated.
I had ot have BOTH outline number and level in the XLS file, as well as in
the Project file. Then I had to Open the xls file - I could not Paste
Special so I could link the two.

But at least I now have the file as it stood in Excel. Thanks so much for
your all-powerful help!
 
J

John

Janer said:
Well that was certainly user-hateful! I did get this to work, as you stated.
I had ot have BOTH outline number and level in the XLS file, as well as in
the Project file. Then I had to Open the xls file - I could not Paste
Special so I could link the two.

But at least I now have the file as it stood in Excel. Thanks so much for
your all-powerful help!

Janer,
I said I was just kidding.

I don't understand your statement about linking the two. Why do you need
a link? There must be something you didn't tell me.

And by the way, you're welcome.
John
Project MVP
 
J

Janer

John,
I know you were kidding.
Linking - If I don't link the original Excel file that has some other stuff
in it that I don't have in the Project file, what happens to the Excel file
when I update the Project file with extra Tasks?

I was hoping for a way for the extra Tasks to showup in the Excel file
automagically. If not, I have to figure out where the new rows go, and
insert them carefully in the Excel file, in order not to lose the old "other
stuff."

Make sense?
 
J

John

Janer said:
John,
I know you were kidding.
Linking - If I don't link the original Excel file that has some other stuff
in it that I don't have in the Project file, what happens to the Excel file
when I update the Project file with extra Tasks?

I was hoping for a way for the extra Tasks to showup in the Excel file
automagically. If not, I have to figure out where the new rows go, and
insert them carefully in the Excel file, in order not to lose the old "other
stuff."

Make sense?

Janer,
Sometimes I tend to get a little rambunctious when I answer posts. I try
not to be offensive but not everybody sees the same humor that I do. I'm
glad that you were not truly offended.

I guess my next question is, why don't you import the "other stuff"
instead of linking it? Paste links are rather fragile and easily
corrupted. Theoretically the links will still work as long as you only
append the Excel data with the import. However, if the import happens to
hit a linked area, boom! You're hosed.

"Automagically", now there's a feature we would all like to see :)

Wait a minute, I'm a little confused (my normal state). I thought you
were importing Excel data into Project. What's this about extra tasks
showing up in Excel?

So no, I guess it doesn't make sense.

John
Project MVP
 
J

Janer

John,
(just to editorialize, I don't think anyone should participate in a
technical forum if they have a thin skin and no sense of humor)

Most of the folks here are using Excel to do a WBS. I have inherited one
from a mgr. For some reason I find it hard to read/absorb - I got so used to
Project, I guess. I want to track it in Project, and I'll need to add stuff
to it as the phases progress.

Once I add, for instance, rows 135-145 between the existing stuff, the Excel
doc is no longer up to date. I'll have to remember where I was adding rows,
and duplicate the adds to the existing Excel spreadsheet.

If I re-export to a brand new Excel file, the existing data and any notes
anyone was making is trash, as well as making it difficult for the folks to
tell what's new since they last looked.

Does that make sense? I was thinking if it was linked the new rows would
automagically show up.
 
J

John

Janer said:
John,
(just to editorialize, I don't think anyone should participate in a
technical forum if they have a thin skin and no sense of humor)

Most of the folks here are using Excel to do a WBS. I have inherited one
from a mgr. For some reason I find it hard to read/absorb - I got so used to
Project, I guess. I want to track it in Project, and I'll need to add stuff
to it as the phases progress.

Once I add, for instance, rows 135-145 between the existing stuff, the Excel
doc is no longer up to date. I'll have to remember where I was adding rows,
and duplicate the adds to the existing Excel spreadsheet.

If I re-export to a brand new Excel file, the existing data and any notes
anyone was making is trash, as well as making it difficult for the folks to
tell what's new since they last looked.

Does that make sense? I was thinking if it was linked the new rows would
automagically show up.

Janer,
I don't think it so much a thin-skinned issue as much as it is a
end-of-my-rope frustration issue. I had one poor guy who posted on a
Sunday with a "hair on fire" type of crisis. I responded with some cold
hard truths and at that time his state of mind just wasn't receptive to
that kind of reality. So those of us on the "other end" of this
newsgroup do need to be properly sensitized. Anyway, I'm glad to see you
have a sense of humor, perhaps even in the face of utter destruction :)

You mention that your co-workers are doing a WBS in Excel. That is very
common - we did it at the company where I worked, the the Excel WBS was
only used to track financial information (e.g. budget, etc.). But a WBS
is not a schedule, and depending on what level of detail is shown,
adding tasks to a project file shouldn't necessarily impact the WBS as
shown on a spreadsheet - unless some people are trying to use the
spreadsheet as a schedule. Nonetheless it sounds like you need to go
both ways - import other people's WBS changes into your schedule and
export your schedule changes back to the WBS spreadsheet. Is that the
long and short of it?

Exporting Project's data back to Excel need not overwrite the existing
spreadsheet data. On the contrary, it should create a new
Workbook/worksheet each time. I'm not a big user of Excel, but I think
that's a good application for a pivot table in Excel and Project data
can be mapped back to an Excel pivot table. You might want to explore
that method, but I wouldn't use paste links - you are asking for trouble.

There's that "automagically" word again - man I love it - it has a
certain flair.

Of course, if I were doing what you are doing, I would probably use VBA
to pass information back and forth between Project and Excel. It is very
convenient, efficient and very little chance for error.

John
Project MVP
 
J

Janer

John,
Thanks!!
Now that I'm in Management, I can't actually DO anything technical ... just
kidding, barely. But I'm not sure I can write nor execute VBA without a
guardian angel. How idiot-proof is it?

I think this is all exactly right, use VBA, and/or pivot table. I will have
to constantly use Excel to discuss Plans with other PM-type people, so I
don't mind a learning curve.

You've been so helpful I don't want to push your hospitality - are you
willing to help me with this? Or are the instructions idiot-proof assuming
nothing? (we can also take this offline if you think it best.)
 
J

John

Janer said:
John,
Thanks!!
Now that I'm in Management, I can't actually DO anything technical ... just
kidding, barely. But I'm not sure I can write nor execute VBA without a
guardian angel. How idiot-proof is it?

I think this is all exactly right, use VBA, and/or pivot table. I will have
to constantly use Excel to discuss Plans with other PM-type people, so I
don't mind a learning curve.

You've been so helpful I don't want to push your hospitality - are you
willing to help me with this? Or are the instructions idiot-proof assuming
nothing? (we can also take this offline if you think it best.)

Janer,
I understand what you mean about being in management. Been there, done
that.

How idiot-proof is VBA? Well, my brain is basically composed of oatmeal
and I do VBA, in fact I love doing VBA, so it must be pretty
idiot-proof. If you are up for learning VBA yourself, fellow MVP, Rod
Gill recently wrote a book devoted exclusively to Project VBA and it is
excellent. If you would like to find out more about it, go to:
http://www.projectvbabook.com.

If you are asking for my help with using a pivot table, I'm not your
guy. However, Excel is pretty straightforward, so learning about it and
using it should be fairly easy. If you are looking to some help with a
VBA approach, you can either post to our developer newsgroup
(microsoft.public.project.developer), or if you want one-on-one
assistance, you can contact me direct at the address below. Depending on
the extent of direct help, there may be a fee.

John
Project MVP
jensenj6atatcomcastdotdotnet
(remove obvious redundancies)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top