create master schedule from sub schedules

S

Scheduler

I am trying to create a master schedule and several sub schedules in
Microsoft Project 2003. Is it possible?
 
J

John

Scheduler said:
I am trying to create a master schedule and several sub schedules in
Microsoft Project 2003. Is it possible?

Scheduler,
Well sure but is this a VBA question (because you posted in the
developer newsgroup)?

The best way to create a dynamic master from multiple subprojects is via
Insert/Project.

If you are trying to create the master using VBA, you will want to use
the ConsolidateProjects Method.

John
Project MVP
 
R

Rainer

Hi all 
 
I have a custom toolbar with menus calling vba subs which are stored i
n the global.mpt of MSP
2007. Some of the subs have parameters. Up to MSP 2003 it
was possible to call such a sub from a menu with the statement 
 
call mySub("myParam") 
 
entered in "Assign Macro..." when customizing menus. This doesn't seem
to
work anymore in MSP 2007. If I click on such a custom menu nothing hap
pens. I can call a sub within global.mpt without arguments with 
 
Macro "myOtherSub" 
 
but how do I do it when I need to pass parameters? 
 
Thanks a lot 
Rainer  
 
F

faisal hameed

Hi,

Try Using Visual Studio Tools for Office Application. You can customize the office project menus from Visual Studio and then attach respective macro names using command Application.Run("macroname")

regards,

Faisal




Rainer wrote:

call a function with parameters from custom menu in MSP2007
13-maj-07

Hi?all

I?have?a?custom?toolbar?with?menus?calling?vba?subs?which?are?stored?
n?the?global.mpt of MSP
2007.?Some?of?the?subs?have?parameters.?Up?to?MSP?2003?it
was?possible?to?call?such?a?sub?from?a?menu?with?the?statement

call?mySub("myParam")

entered?in?"Assign?Macro..."?when?customizing?menus.?This?doesn't?seem
to
work?anymore?in?MSP?2007.?If?I?click?on?such?a?custom?menu?nothing?ha
pens.?I?can?call?a?sub?within?global.mpt?without?arguments?with

Macro?"myOtherSub"

but?how?do?I?do?it?when?I?need?to?pass?parameters?

Thanks?a?lot
Rainer

Previous Posts In This Thread:

On 11. maj 2007 16:47
Schedule wrote:

create master schedule from sub schedules
I am trying to create a master schedule and several sub schedules in
Microsoft Project 2003. Is it possible?

On 11. maj 2007 17:39
John wrote:

Re: create master schedule from sub schedules
Scheduler
Well sure but is this a VBA question (because you posted in the
developer newsgroup)

The best way to create a dynamic master from multiple subprojects is via
Insert/Project

If you are trying to create the master using VBA, you will want to use
the ConsolidateProjects Method

Joh
Project MVP

On 13. maj 2007 09:27
Rainer wrote:

call a function with parameters from custom menu in MSP2007
Hi?all

I?have?a?custom?toolbar?with?menus?calling?vba?subs?which?are?stored?
n?the?global.mpt of MSP
2007.?Some?of?the?subs?have?parameters.?Up?to?MSP?2003?it
was?possible?to?call?such?a?sub?from?a?menu?with?the?statement

call?mySub("myParam")

entered?in?"Assign?Macro..."?when?customizing?menus.?This?doesn't?seem
to
work?anymore?in?MSP?2007.?If?I?click?on?such?a?custom?menu?nothing?ha
pens.?I?can?call?a?sub?within?global.mpt?without?arguments?with

Macro?"myOtherSub"

but?how?do?I?do?it?when?I?need?to?pass?parameters?

Thanks?a?lot
Rainer

EggHeadCafe - Software Developer Portal of Choice
XmlSerializer to Serialize .NET Class to Xml
http://www.eggheadcafe.com/tutorial...6-8a5bdf417d22/xmlserializer-to-serializ.aspx
 

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