This repository contains a Word Macro-Enabled Document (.docm) that automates the insertion and layout of multiple images from a folder directly into a Word document — perfect for quickly preparing print-ready layouts.
image-organizer.docm— English versionorganizador-imagenes.docm— Spanish version
This tool contains a macro named OrganizeImagesAndDelete that:
- Automatically detects and inserts all images located in the same folder as the
.docmfile. - Prompts you to set:
- Number of images per page (1–20)
- Number of images per row (only if more than 2 images per page)
- Generates a new document called
OrganizedImages.docxcontaining all the formatted images. - Deletes the original images from the folder to avoid clutter or duplicate usage.
OrganizedImages.docx, it will be overwritten the next time the tool runs.
- ✅ Optimized for Microsoft Word on Windows
⚠️ On macOS, the button does not work. You must run the macro manually from Developer → Macros →OrganizeImagesAndDelete
You must enable macros when prompted in order to use the tool.
Make sure you want to delete the images in the folder before running the macro. The deletion is automatic and cannot be undone.
A client sends 15 images through WhatsApp. The cybercafé owner downloads them to a folder and runs this tool. In seconds, a neatly organized Word document is ready for printing, and the folder is clean.
This project is licensed under the MIT License.
You’re free to use, modify, or share it — but at your own risk.