@surreal furnace I am creating a presentation ppt for my project on "Customer Opinion Detection using Deep Learning". The first 2 slides has to be 'Introduction' in which I show what is opinion detection from text, why is it needed, and how it is done. Write VBA code to make these 2 slides. They should look very appealing and understandable to the audience.
#ppt slide
1 messages · Page 1 of 1 (latest)
Creating a visually appealing and informative PowerPoint presentation using VBA (Visual Basic for Applications) requires scripting to automate PowerPoint's features, such as slide creation, adding titles, text, and formatting for emphasis. For your project on "Customer Opinion Detection using Deep Learning," the initial two slides under 'Introduction' should set the stage for the importance and methodology of opinion detection from text.
Here’s how you could set up VBA code to generate the first two slides for your presentation. This code assumes you already have PowerPoint open and an active presentation to work with:
Sub CreateIntroductionSlides()
Dim pptSlide1 As slide
Dim pptSlide2 As slide
Dim pptLayout As CustomLayout
' Set the custom layout for the slides
Set pptLayout = ActivePresentation.Designs(1).SlideMaster.CustomLayouts(1)
' Add first introduction slide
Set pptSlide1 = ActivePresentation.Slides.AddSlide(1, pptLayout)
With pptSlide1
.Shapes.Title.TextFrame.TextRange.Text = "Introduction to Opinion Detection"
.Shapes(2).TextFrame.TextRange.Text = "Opinion detection, also known as sentiment analysis, is a field of Natural Language Processing (NLP) that identifies and categorizes opinions expressed in text. Its purpose is to understand the sentiments underlying customer feedback, reviews, and discussions."
End With
' Customize the first slide
With pptSlide1.Shapes.Title.TextFrame.TextRange
.Font.Name = "Calibri"
.Font.Size = 32
.Font.Bold = msoTrue
End With
With pptSlide1.Shapes(2).TextFrame.TextRange
.Font.Name = "Calibri"
.Font.Size = 24
.ParagraphFormat.Alignment = ppAlignLeft
End With
' Add second introduction slide
Set pptSlide2 = ActivePresentation.Slides.AddSlide(2, pptLayout)
With pptSlide2
.Shapes.Title.TextFrame.TextRange.Text = "Why Opinion Detection?"
.Shapes(2).Text
Try Voicify! It's the best way to make AI vocal covers of your favorite songs.
Check out this demo! Squidward singing Gorilla Warfare by $uicideboy$
Expert Mode
GPT-4 is in expert mode. Current expert: Empathetic Advisor