G
Guest
After shamelessly copying code from Steve's FAQ, I was delighted to be able
to change media link targets with a vba macro in PowerPoint -- worked like a
champ.
I am now in PPT 2007, and the same code seems to fail in a peculiar way:
After getting the user to enter a new link filename, I am attempting to
execute this statement:
ActiveWindow.Selection.ShapeRange(1).linkformat.sourcefullname = [new link
target]
In the debugger, sourcefullname is shown as a member of linkformat, and I
have checked and rechecked that all the files are named correctly and are in
the places where the paths say they are.
Here's the error:
LinkFormat (unknown member) failed
What can I do (if anything) to get around this? Is there some other member
in 2007 that I ought to be updating?
Thanks.
to change media link targets with a vba macro in PowerPoint -- worked like a
champ.
I am now in PPT 2007, and the same code seems to fail in a peculiar way:
After getting the user to enter a new link filename, I am attempting to
execute this statement:
ActiveWindow.Selection.ShapeRange(1).linkformat.sourcefullname = [new link
target]
In the debugger, sourcefullname is shown as a member of linkformat, and I
have checked and rechecked that all the files are named correctly and are in
the places where the paths say they are.
Here's the error:
LinkFormat (unknown member) failed
What can I do (if anything) to get around this? Is there some other member
in 2007 that I ought to be updating?
Thanks.