CK said:
Thanks John,
I found the links and the example very good. I need to work on my VB to
modify the code to include the rest of the columns and not just the Tasks.
Also, to include more than one project into the same workbook.
Any hints/tips?
CK,
When you say, ". . . modify the code. . .", what code are you referring
to?
As far as including multiple projects into the same Worksheet there are
probably as many approaches as there are users writing the macro code.
For example, one approach has the VBA code residing in Excel. The code
then sequentially gets the data from each Project file and imports it.
The code could also reside in a dummy file (or one of the files to be
exported) in Project and the data could be exported from there to a
common Excel Worksheet. A third approach is to have the code reside in a
separate VB macro (this requires a standalone version of VB). And a
fourth approach might be to do some type os SQL query. I've never worked
with SQL so I can't help with that.
As you can see there are many possibilities. It all depends on your
level of knowledge and preference.
Learning VBA is not an overnight thing. If you are just starting out,
you need to read the tutorial material, study the examples and then
write some macros to exercise what you have learned. If you just can't
wait to progress through the learning cycle, you can always hire someone
to write the code for you.
Hope this helps.
John
Project MVP