You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on Create (the Microsoft Visual Basic windows opens up)
Copy-and-paste the following (edit as needed)
SubAddProgressBar()OnErrorResumeNextWithActivePresentationX1=192' 956 is the maximumY1=5'.PageSetup.SlideHeight - 534.5W=572' WidthH=20G=W*0.005' GapF=2' First Slide: 2 first ones are Cover and SummaryL=.Slides.Count' Last Slide: last one is ThanksForX=FToL' Add BackBar.Slides(X).Shapes("BackBar").DeleteSeta=.Slides(X).Shapes.AddShape(msoShapeRectangle,_X1,Y1,W,H)a.Fill.ForeColor.RGB=RGB(0,0,0)a.Line.ForeColor.RGB=RGB(0,0,0)a.Name="BackBar"' Add ActualBar.Slides(X).Shapes("ActualBar").DeleteSets=.Slides(X).Shapes.AddShape(msoShapeRectangle,_X1+G,Y1+G,(W-2.5*G)*(X-2)/(L-2),H*0.6)s.Fill.ForeColor.RGB=RGB(31,175,60)s.Line.ForeColor.RGB=RGB(31,175,60)s.Name="ActualBar"' Add Text.Slides(X).Shapes("Text").DeleteSett=.Slides(X).Shapes.AddTextbox(msoTextOrientationHorizontal,_Left:=X1,Top:=Y1-5,Width:=W,Height:=10)Witht.TextFrame.TextRange.Text=CStr(Round(100*((X-2)/(L-2))))+" %".Paragraphs.ParagraphFormat.Alignment=ppAlignCenterWith.Font.Size=18.Bold=True.Color.RGB=RGB(255,255,255)EndWithEndWitht.Name="Text"NextX:EndWithEndSub
Save it, open the macros window and run it.
(F5 pode ser usado durante edições antes de salvar)