Sub InsertSlied(NameFilePresentation, NSlied)
Application.CommandBars.ActiveMenuBar.Controls(4).Controls(7).Execute
SendKeys Chr(9) + " "
SendKeys NameFilePresentation + Chr(13)
SendKeys Chr(9) + Chr(9) + Chr(9) + Chr(9) + Chr(9)
For i = 1 To NSlied - 1
SendKeys "{RIGHT}"
Next i
SendKeys " " + Chr(13) + Chr(27)
End Sub
activepresentation.slides.insertfromfile "file name", inserttoposition, startslidenumber, endslidenumber
Сейчас этот форум просматривают: Google-бот и гости: 104