Can you export the timeline?

A

aneasiertomorrow

Hey all

I've completely stuffed up when building a slide and am going to have to
redo the timings of my animations - is there anyway I can export the advanced
timeline (ie the beginning and end times of all the animations) so I don't
have to write it all out? A couple of screen shots give me the general idea
but the precise times would make it easy (if laborious) to recreate.

You see I added a sound file that looped but there was a little stutter
before it did so I edited the file into one as long as I needed. The problem
is some of the later animations are 'start after previous' and if I put the
new long sound file in I have to change them to start with previous and then
change the start times... Am I making sense?

Anyway, I just thought I would ask before I spend an hour doing something
that could take 5 mins. I'm using 2003 with all updates.

Lucy
 
J

John Wilson

Would this vba help?

You need to run it in the vb editor with the immediate window open.
Obviously change slide (1) to whatever number you want.

Sub timing()
Dim delay As Single
For n = 1 To ActivePresentation.Slides(1).TimeLine.MainSequence.Count
delay =
ActivePresentation.Slides(1).TimeLine.MainSequence(n).timing.TriggerDelayTime
Debug.Print "start time for item " & n & " =" & delay
Next n
End Sub
--

Did that answer the question / help?
_____________________________
John Wilson
Microsoft Certified Office Specialist
http://www.technologytrish.co.uk/ppttipshome.html
 
J

John Wilson

Mark 2 version!

Select the slide then > vba editor and run.

Sub timing2()
Dim delay As Single
Dim lasts As Single
With ActiveWindow.Selection.SlideRange
For n = 1 To ActiveWindow.Selection.SlideRange.TimeLine.MainSequence.Count
delay = .TimeLine.MainSequence(n).timing.TriggerDelayTime
lasts = .TimeLine.MainSequence(n).timing.Duration
Debug.Print "start time for item " & n & " =" & delay & " end time = " &
(delay + lasts)
Next n
End With
End Sub
--

Did that answer the question / help?
_____________________________
John Wilson
Microsoft Certified Office Specialist
http://www.technologytrish.co.uk/ppttipshome.html
 
A

aneasiertomorrow

Hi John

Thanks for that. I've never used vba (I know, I know. I really must learn)
so I don't really know what I'm doing. I'm getting a compile error (syntax
error) because I'm proberly supposed to put some numbers somewhere hey? It's
the line that starts Debog.Print that's red in the editor.

Sorry to be dim, but I am blonde... ;-) I'm happy to teach myself if you
can suggest a page or two I should read that would teach me what I need to
know for this macro. I tried VB Help but I'm swimming in a sea of ignorance.

Lucy
--
MOS Master Instructor
South Australia

If this post answered your question please let us know as others may be
interested too
 
A

aneasiertomorrow

Hey Steve

Thanks, that certainly fixed up my error. Well, I can run the macro but
nothing happens - but of course I don't really understand what is supposed to
happen... So the plan is to buy a book or two, lock myself away for a week
and get my head around the basics :)

In the meantime, I'll hope the client thinks the music is tacky and doesn't
want it ;-)

Lucy
--
MOS Master Instructor
South Australia

If this post answered your question please let us know as others may be
interested too
 
A

aneasiertomorrow

Yaaay! That beats me scribbling it down with a pencil (and then being unable
to decipher my own handwriting). Thank you so much Steve and John - I can
see me using that quite a bit (I'm a 'measure once, cut twice' kind of person
unfortunately).

I don't suppose you can alter them and send them back the other way can you?

Thanks again. And you might even have given me the confidence to start
playing with other bits of code I've found here...

Lucy
--
MOS Master Instructor
South Australia

If this post answered your question please let us know as others may be
interested too
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top