Skip to main content

Edit, export and import PowerPoint VBA code from the command line. Thin entry-point wrapper for vba-edit.

Project description

powerpoint-vba belongs to vba-edit CLI Tools

Edit VBA code in VS Code, PyCharm, Wing IDE, or any editor you love. Real-time sync with MS POWERPOINT. Git-friendly. No more VBA editor pain.

CI PyPI - Version PyPI - Python Version Platform vba-edit - Downloads powerpoint-vba - Downloads License

This is a thin entry-point package for vba-edit. Installing powerpoint-vba gives you the powerpoint-vba command and automatically installs the vba-edit core package.

Quick Start

RECOMMENDED: Via uvx

uvx powerpoint-vba edit -f myfile.pptm --vba-directory .\src\VBA

Note: The uvx command invokes a tool without installing it — same as: uv tool run powerpoint-vba

30-Second Demo

# Start editing (uses active PowerPoint presentation)
powerpoint-vba edit

# That's it! Edit the .bas/.cls files in your editor. Save = Sync.

How It Works

                        <--- vba-edit --->

  MS POWERPOINT              COMMANDS              Your favourite
                                v                       Editor

+------------------+                            +------------------+
|                  |                            |                  |
|   VBA Project    |   <---   EDIT*   (once ->) |  (e.g. VS CODE)  | 
|                  |                            |                  |     latest
|  (Office VBA-    |          EXPORT      --->  |   .bas           |  <- AI coding-  
|    Editor)       |                            |   .cls           |     assistants
|                  |   <---   IMPORT            |   .frm           |   
|                  |                            |  (.frx binary)   | 
|                  |                            |                  | 
+------------------+                            +------------------+
                                                         v
                                                +------------------+
                                                |                  |
 * watches & syncs                              |    (e.g. Git)    |
   back to Office                               |  version control |
   VBA-Editor live                              |                  |
   on save [CTRL+S]                             |                  |
                                                +------------------+

Install

pip install powerpoint-vba

Note: Installing powerpoint-vba also installs the vba-edit core package, which provides entry points for all supported Office apps (excel-vba, word-vba, powerpoint-vba, access-vba).

Usage

Command What it does
powerpoint-vba edit Start live editing
powerpoint-vba export One-time export
powerpoint-vba import One-time import
powerpoint-vba export --open-folder --keep-open Export and open folder in explorer, keep document open for inspection
powerpoint-vba export --force-overwrite Export without confirmation prompts
powerpoint-vba check Verify status of Trust access to the VBA project object model

💡 Complete Option Matrix: available here

For full documentation see github.com/markuskiller/vba-edit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powerpoint_vba-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

powerpoint_vba-0.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file powerpoint_vba-0.0.1.tar.gz.

File metadata

  • Download URL: powerpoint_vba-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for powerpoint_vba-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c0d4420568807ecfccc074656e6bc688ffee3916b243c4d3c7a7867ad99da37a
MD5 69d59fd3fe01159cac528fac630e13b8
BLAKE2b-256 59fc73b1311499fff6ae0ec4589ce921cab285720333320b9d2832030d4758fa

See more details on using hashes here.

File details

Details for the file powerpoint_vba-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: powerpoint_vba-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for powerpoint_vba-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92e29b8b2e2ea8c57ab784f660fe86fbec3c19a5bdeaef766ac594ca25b964ff
MD5 d26abfd4c76e7512371fb183cbae11f1
BLAKE2b-256 5e5f7afeaa27b36881e2aa42a2831021eca924b8811b16f855a8bc32064c9c49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page