MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Sub SetOrder() ' Dim i As Integer Dim str As String For i = 1 To ActivePresentation.Slides.Count If str <> "" Then str = str & ", " str = str & ActivePresentation.Slides(i).slideID Next MsgBox "Slide ID's as detected are: " & vbCrLf & vbCrLf & str Dim sTemp Dim Value$ Dim varSlide, iIndex As Integer Dim slideID As Integer Open "C:\Program Files\American Greetings\SlideShow\Slides\slide_id.txt" For Input As #3 Line Input #3, Value$ sTemp = Split(Value$, ",") For i = 1 To ActivePresentation.Slides.Count varSlide = CInt(sTemp(i - 1)) ActivePresentation.Slides.FindBySlideID(varSlide).Copy ActivePresentation.Slides.Paste i ActivePresentation.Slides.FindBySlideID(varSlide).Delete Next End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.