Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ap._getactive not working anymore
#1
I have a macro that connects to powerpoint, first lines are:

Function pp_run_macro_direct
 
Code:
Copy      Help
;/exe 1

typelib PowerPoint "$program files$\Microsoft Office\Office15\MSPPT.OLB"
PowerPoint.Application ap._getactive; err end "failed to connect to PowerPoint. Try to run this macro in separate process as User."


It used to work on my old laptop with windows 10. On my new laptop with windows 11 the macro compiles fine, and the exe is created, but running it triggers the 'failed to connect to powerpoint' message (and powerpoint is running). The typelib line does point to the right OLB file (it is powerpoint 2013). 

How can I find out what the problem is?


Messages In This Thread
ap._getactive not working anymore - by artuur9 - 09-28-2025, 11:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)