Creating Custom Function

D

Doug

Hi,
I have not done any development in Project before but have done quite a bit
for MS Access, Excel and some VB .Net applications.

This should be simple but can't see how to accomplish;
I have built a simple custom "Public Function in a new Module calling for a
couple of parameters returning an Integer value.

When I Add a field to the Project Data View, and try to add a Formula, my
function does not appear.

How do I get MS Project to recognise a Function in the new Module I addeed
so that it can be used in the new Column (say Number 1)?

Thanks for any assitance,

Doug
 
R

Rod Gill

Unfortunately you cannot create user functions in Project. You can only
create macros that you have to run for all Tasks or create a formulae.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com




Doug said:
Hi,
I have not done any development in Project before but have done quite a
bit
for MS Access, Excel and some VB .Net applications.

This should be simple but can't see how to accomplish;
I have built a simple custom "Public Function in a new Module calling for
a
couple of parameters returning an Integer value.

When I Add a field to the Project Data View, and try to add a Formula, my
function does not appear.

How do I get MS Project to recognise a Function in the new Module I addeed
so that it can be used in the new Column (say Number 1)?

Thanks for any assitance,

Doug
--
We evolved the way we are because we evolved in this environment, not
because it is special.

__________ Information from ESET Smart Security, version of virus
signature database 4647 (20091129) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4647 (20091129) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 

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