VBA code is not 100% compatible with VB6 and visa versa.

You did add a reference to PowerPoint so msoLinkedOLEObject is defined?