Forum Discussion
MS Project VBA Default Location and Default AutoScheduled tasks
- Nov 16, 2021
It is a little strange about the auto/manual scheduling option not being available via VBA, all the other scheduling options are.
Yes, you can set auto/manual in the registry. This is what it looks like on my PC, which is currently set for auto schedule.
John
I ran some code to edit the registry key which worked (I opened RegEdit to have a look t it) but when I closed MS Project it reverted to it's previous value 😞
Looks like I will have to write some idiot-proof instructions for people to change this setting manually (and I'm sure someone will still mess it up)
You're welcome and thanks for the feedback.
Strange. I've never tried to change the registry with code, I've only done it manually. Did you include in your code a line to save Project? I would think that would save the change to the GLobal.
John
- Gilgamesh1964Nov 24, 2021Brass Contributor
Hi
Sorry for taking so long to get back (non schedule based project work got in the way ).No I hadn't added a line to save the project. I would have thought as I'm changing the default for new schedules then a save of the current one would not be necessary.
However I added one, and this is where we now enter the Twilight Zone.
New schedules were being created with Auto Scheduled tasks as desired. But when looking at the MS Project settings it was still showing Manual Scheduled as the default setting for new schedules ????
Changing this MS Project setting in the standard GUI interface no longer had any effect, I would set it for Auto Scheduled, Leave, and upon going back in it said Manually Scheduled again. Yet new schedules continued to be created as Auto Scheduled.
I managed to restore normal functionality by using RegEdit to restore the setting, and I think I'll stick with manual instructions to get this setting as desired.
- John-projectNov 24, 2021Silver ContributorYeah I remember that episode, I think it was 1963. Oh well, you do what you have to do to make it all work 🙂
Thanks for the feedback.
john