If you enjoyed the video, don't hesitate to subscribe, it only takes a few seconds, and it's free 😊
▶Support Me: https://www.buymeacoffee.com/vishnuabhay
▶Trending AI images: • Trending AI Image Generation
▶Best AI Video Playlist: • Top Free AI
▶Best PC Customization: • PC Customization
▶PowerPoint Tips & Tricks: • PowerPoint Tricks
Hello! Myself Abhay Vishnu and in this video I'm going to tell you how you can make separate PDFs from a Mail Merge Letter generated from Microsoft Word.
VBA Code:
Sub SaveEachPageAsPDF()
Dim i As Integer
Dim totalPages As Integer
Dim doc As Document
Set doc = ActiveDocument
totalPages = doc.ComputeStatistics(wdStatisticPages)
For i = 1 To totalPages
doc.ExportAsFixedFormat _
OutputFileName:=doc.Path & "\Page_" & i & ".pdf", _
ExportFormat:=wdExportFormatPDF, _
Range:=wdExportFromTo, _
From:=i, To:=i
Next i
MsgBox "All pages saved as separate PDFs!"
End Sub
Resources used
Images & PNGs: https://www.vecteezy.com/
Stock Videos: https://pixabay.com/
Free Stock Videos: https://www.videezy.com/
Video editing software: https://www.capcut.com/
Thumbnail: https://www.canva.com/
AI Voice: https://www.naturalreaders.com/
Background Music: Misdirection (Youtube Studio Audio Library)
My Laptop: Lenovo Ideapad Slim 3 (https://amzn.to/3HDDOXR)
My new Laptop: Macbook Air M2 (https://amzn.to/4pKi7IY)
SSD: 256 GB NVme SSD (https://amzn.to/42oz2qB)
My other system: Mac Mini M4 (https://amzn.to/495r3nG)
Monitor: Samsung 24" S3 Flat Monitor (https://amzn.to/3WHoW1W)
My Phone: Samsung Galaxy S21 FE (https://amzn.to/42kOdBa)
My Second Phone: Google Pixel 7 (https://amzn.to/49IpIlD)
My Tab: Mi Pad 6 (https://amzn.to/3NQef8T)
Mouse: Portonics Toad II (https://amzn.to/3SAo5yV)
Keyboard: Zebronics USB Keyboard (https://amzn.to/3ubB1SB)
Contact me:
E-mail: [email protected]
Facebook: / abhay.vishnu.96
Instagram: / abhay_vishnu
Twitter (X): / abhay_vishnu
how to save mail merge as individual documents
how to save separate pdfs from mail merge letter
how to use vba code in ms office
how to use vba module in ms office
how to use vba code in microsoft office
how to use automation in ms office
how to use automation in microsoft office
ms office tips and tricks
ms offfice mail merge tips and tricks
ms office mail merge and vba code trick
simple mai merge trick using vba code
vba code in ms office
word to pdf using vba code
ms word to pdfs using vba code
microsoft office mail merge step by step process
ms office mail merge step by step process