View Full Version : Set start and end points in media file using VBA
Is it possible to use VBA to set the start and end play points of a media file (audio or video) which is imported into PowerPoint. I have all the VBA code running to import and play the files, all working fine. I know I can set the start and end inside PPT But can't find any documentation on how to set start and end using VBA. Thanks.
John Wilson
03-06-2016, 11:27 AM
If ovid is a reference to the shape with the media to start from 1 sec and end at 5
ovid.MediaFormat.EndPoint = 5000
ovid.MediaFormat.StartPoint = 1000
If ovid is a reference to the shape with the media to start from 1 sec and end at 5
ovid.MediaFormat.EndPoint = 5000
ovid.MediaFormat.StartPoint = 1000
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.