Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Replacing Resources in Microsoft Project Professional 2010 using VBA

$
0
0

I would like to replace Resource name, programmatically using VBA, with any of the resources available on the Enterprise Resource Pool in MS Project Professional 2010.

I can do it manually in MS Project by going to the Resource tab, then selecting Build Team from Enterprise to open the Filter Enterprise Resources form, on which:

I tick Resource Name checkbox, select "contains" from the dropdown box adjacent to it, enter a name or part of a name in the textbox next to that and then click OK button to open the Build Team for Project1 form (Project1 is the current active project), which shows all the resource names containing the search string entered on the Filter Enterprise Resources form.

I have a userform with a textbox (For the user to enter the search string) and a Replace button (the user should click to go to the Build Team for Project1 form).

I can open the Filter Enterprise Resources form using VBA (Appllication.EnterpriseTeamBuilder) but i can't programmatically provide the information (ticking the checkbox, setting the search criterion in the combobox, entering the search string in the textbox and clicking the OK button) in order to get to the Build Team for Project1 form to view the list of resources.

I would greatly appreciate it if you kindly help me with the coding of this functionality.

Thanks SRNms



Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>