VBScript - Create A Blank Presentation

This script file allows you to create a blank MS Powerpoint presentation.


  • 4453
  • 1659
  • 1
  • 0
Add to collection
© 2024VBAmacros.net

1 Open your favorite text editor. In our case we are going to use Notepad++

2 Copy the VBScript code from below.

3 Paste the code in the newly created file.

4 Save the file with a ".vbs" extension.

5 Run the script file by double-clicking on it or via the CMD console.

6 That's it!


' This script creates a blank MS Powerpoint presentation.
Sub createBlankPowerpointPresentation()
	' Set variables
	Dim appPowerpoint
	' Create new powerpoint application object
	Set appPowerpoint = Wscript.CreateObject("Powerpoint.Application")
	' Set it to be visible
	appPowerpoint.Visible = True
	' Add a new presentation
	' Release the powerpoint application object
	Set appPowerpoint = Nothing
End Sub
' Run the procedure
Call createBlankPowerpointPresentation()

Sort by:
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
VBAmacros.net VBAmacros.net
Code was successfully copied!
VBAmacros.net VBAmacros.net
Please sign in!
VBAmacros.net VBAmacros.net
You've already voted!