Passing data - macro > Analyze timescaled > Excel

E

Erkki Piipari

Hi for the first time !

Perhaps someone could poke me to the right direction. My
requirements are as follows :
1) Record a macro in MSP
- with suitable views, filters (Completed Tasks etc)
2)Start Analyze timephased data in Excel
- What is the best way to call this add-in and pass
arguments , so that it can proceed in the background and
create the excel -graph

Thank's in advance !

Erkki Piipari
 
R

Rod Gill

Hi,

The VB code for the Analyze com addin is available from:
http://www.microsoft.com/downloads/...70-e38e-45d5-91d3-65987f459cac&DisplayLang=en

The only way you can pass options in VBA is to use the SendKeys method, but
this is risky. If someone swaps to another program half way thru the macro,
the remaining keystrokes get sent to the new program, with potentially dire
results!

--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.projectlearning.com/
 
J

John

Erkki,
I don't believe it is possible to "call" the "Analyze . . ." add-in from
VBA. However, it isn't all that difficult to create a custom VBA macro
to export the necessary data from Project to Excel and then create
worksheets or graphs. Unless a huge amount of data is involved, a custom
macro will run very quickly. Is there a specific reason you want it to
run in the background?

John
 

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