In VBA for MS-Project, what code is ran first, the project_activate
or project_open
?
Asked
Active
Viewed 72 times
-1

peetman
- 669
- 2
- 15
- 30
-
2you can add code to both function, and add difeerent `MsgBox`,then when you run it, you can see which `MsgBox` comed first – Shai Rado Nov 07 '17 at 09:03
-
1How are you going to Activate a Project before it is Opened? – Nov 07 '17 at 09:07
-
Makes sense @ThomasInzina. I've tested Shai Rado suggestion and it confirmed your statement. Cheers – peetman Nov 07 '17 at 09:15
-
2When you can you should post your answer an close the question. I think that `Which Event comes first Activate or Open ` is a better title. :) – Nov 07 '17 at 09:24
1 Answers
1
As said in the coments it wouldn't make sense to activate a project that isn't open. It can be tested with simple msgboxes. That said, the open
event comes before the activate

peetman
- 669
- 2
- 15
- 30