A Think-cell inspired PowerPoint add-in for inserting professional charts with one click.
Vector is a PowerPoint Add-in (PPAM) that adds a custom "Vector" tab to the ribbon, providing quick access to chart insertion tools. Built using the same PPAM approach that Think-cell uses for deep PowerPoint integration.
- Custom Ribbon Tab: Appears before the Home tab for easy access
- One-Click Charts: Insert bar, column, line, pie, area, scatter, and combo charts
- Auto-Centered: Charts are automatically centered on the slide
- Sample Data: Charts come pre-populated with editable sample data
- Native Integration: Uses PowerPoint's native chart API for full compatibility
vector/
├── Vector.ppam # Final add-in file (after build)
├── Vector_template.pptm # Template for VBA import
├── Vector_ribbon_only.ppam # Ribbon-only version (no VBA)
├── src/
│ ├── customUI/
│ │ └── customUI14.xml # Ribbon definition (Office 2010+)
│ ├── vba/
│ │ └── Module1.bas # VBA chart insertion code
│ └── assets/
│ └── icons/ # Custom button icons (future)
├── Scripts/
│ ├── build-ppam.py # Build script
│ └── install.sh # macOS installer
└── README.md
python Scripts/build-ppam.pyThis creates:
Vector_template.pptm- Template with ribbon (needs VBA import)Vector_ribbon_only.ppam- Ribbon-only version
- Open
Vector_template.pptmin PowerPoint - Press
Alt+F11(Windows) orTools > Macro > Visual Basic Editor(Mac) - In VBA Editor:
File > Import File→ selectsrc/vba/Module1.bas - Close VBA Editor
File > Save As→ choose "PowerPoint Add-in (.ppam)" → name itVector.ppam
./Scripts/install.shOr manually copy Vector.ppam to:
- macOS:
~/Library/Group Containers/UBF8T346G9.Office/User Content/Add-Ins/ - Windows:
%APPDATA%\Microsoft\AddIns\
- Open PowerPoint
Tools > PowerPoint Add-Ins...- Click
+orBrowse... - Select
Vector.ppam - Click
OK
The Vector tab should now appear in your ribbon!
| Button | Chart Type | Description |
|---|---|---|
| Bar | Clustered Bar | Horizontal bar chart |
| Column | Clustered Column | Vertical column chart |
| Line | Line | Line chart with markers |
| Pie | Pie | Standard pie chart |
| Area | Area | Filled area chart |
| Scatter | XY Scatter | Scatter plot |
| Combo | Column + Line | Dual-axis combo chart |
- PowerPoint: 2016 or later (Windows/Mac)
- VBA: Must be enabled (if Think-cell works, VBA is already enabled)
A PPAM file is a ZIP archive with Office Open XML structure:
Vector.ppam (ZIP)
├── [Content_Types].xml # MIME types
├── _rels/.rels # Package relationships
├── ppt/
│ ├── presentation.xml # Empty presentation
│ ├── vbaProject.bin # Compiled VBA code
│ └── _rels/presentation.xml.rels
└── customUI/
└── customUI14.xml # Ribbon definition
The ribbon XML (customUI14.xml) defines:
- Custom tab position (before Home)
- Button groups and icons
- Callback function names
When a button is clicked, PowerPoint calls the corresponding VBA function:
InsertBarChart(control As IRibbonControl)- Uses
Shapes.AddChart2()to insert native charts - Charts are fully editable with PowerPoint's chart tools
Edit src/customUI/customUI14.xml:
<button id="btnNewChart" label="My Chart" size="large"
imageMso="ChartTypeColumnClustered"
onAction="InsertMyChart"/>Available imageMso values: Office ImageMso Gallery
- Add button to
customUI14.xml - Add callback sub to
Module1.bas:
Sub InsertMyChart(control As IRibbonControl)
InsertChart xlColumnStacked, "My Chart"
End SubAfter changes:
- Run
python Scripts/build-ppam.py - Re-import VBA into the template
- Save as PPAM
- Reinstall
- Ensure the add-in is listed in
Tools > PowerPoint Add-Ins - Check the box next to Vector to enable it
- Restart PowerPoint
- VBA may not be imported - check VBA Editor for the module
- Enable macros in Trust Center settings
- VBA is not enabled in PowerPoint
- Go to
Preferences > Security & Privacy > Enable VBA macros
MIT License
Inspired by Think-cell's ribbon integration approach.