Mail Merge to separate documents (.docx .pdf) with custom file names and folders

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 447

  • @emanuelecostantinocatanzar3042

    Everything in this video is great: the macro, the clear explanation and the details of the code, the possibility to download the files.
    One of the best videos ever.
    Thank you so much for this pearl" 👍👏👏👏👏

    • @paphitisn
      @paphitisn  Před měsícem

      Thanks for your comment. I am glad you found this usefull.

  • @davethorpe5947
    @davethorpe5947 Před 8 měsíci +17

    This is, BY FAR, the best thing I've ever found on CZcams in the last fifteen years. You are amazing! I had to mail merge over 1200 documents, each with a unique file name based on Student ID. I don't know how I can thank you enough. Mate, seriously! Cheers :)

    • @paphitisn
      @paphitisn  Před 8 měsíci +2

      Your comment is thanks enough. I am really glad this helped you, and most importantly that it saved you time. Now use that time saved to spend time with the family or go out for a drink on me :).
      Thanks for your comment.

    • @davethorpe5947
      @davethorpe5947 Před 8 měsíci

      @@paphitisn thanks 😁👍

  • @peterscobbie3230
    @peterscobbie3230 Před 8 dny +1

    Thanks, Nicos, what a time saver and really simplified explanation of the whole merging / save file process

    • @paphitisn
      @paphitisn  Před 8 dny

      Hi Peter. I am glad you found this useful a d easy to follow. Thanks for your comment.

  • @melaniefulton7437
    @melaniefulton7437 Před 2 měsíci +2

    You're officially my new hero! I was trying to merge a document into individual files and all of the other video tutorials caused my images to disappear and the document spacing to get thrown way out of wack. This was absolutely PERFECT for my needs. And THANK YOU for making the code available for us to download.

    • @paphitisn
      @paphitisn  Před 2 měsíci

      That is great to hear. I am really glad this tutorial helped. Thanks for your comment. Just to let you know, i also have a tutorial on merging images. Particularly great for certificates.

  • @-sara-mohammed9968
    @-sara-mohammed9968 Před 9 měsíci +1

    Sir you just saved my life!! I have 700 students to personalize a pdf file for and this just was perfect !!!!

    • @paphitisn
      @paphitisn  Před 9 měsíci

      Awesome, i am so glad you found this and saved yourself a heap of time. Thanks for the comment.

  • @Cloutpunisher
    @Cloutpunisher Před 5 měsíci +2

    THANK YOU so much. I knew this was possible but most suggestions online regarding splitting mail merges are to download a plug-in which I can’t always do as a contractor !!! You rock.

    • @paphitisn
      @paphitisn  Před 5 měsíci

      Really glad this has helped you. thanks for your comment.

  • @TalesZuliani
    @TalesZuliani Před 5 měsíci +1

    THANK YOU A THOUSAND TIMES
    I had a 500 pages file to split into each page for each employee and our IT block sites like "I Love PDF"
    your macro worked like a charm
    I just renamed my sheet database to "MergeData" and added the three columns

    • @paphitisn
      @paphitisn  Před 5 měsíci +1

      That is really fantastic to hear. I am glad this has saved you time and effort. Thank you for your comment.

  • @spygirl43
    @spygirl43 Před 7 měsíci +1

    Thank you so much for posting this! I had a file with 50 letters and it merged into one big one. I did not want to spend hours separating. You're awesome for sharing your knowledge.

    • @paphitisn
      @paphitisn  Před 7 měsíci

      So glad this helped you. Thanks for your comment

  • @BKCreationz_SL
    @BKCreationz_SL Před 5 měsíci +1

    I was searching for this process for a long time. When preparing service documents for equipment in the same models, even though mail merged and split into individual documents, I had to rename the PDF files one by one according to their serial numbers, which took a long time to open and check individually (had to repeat every month for different equipment lists).
    Thanks to your video, I could save my time from hours of hard work into minutes of clicking. Thank you soo much for making the life easier by bringing up this valuable video. Highly appriciate your effort and will not miss to share this with my friends as well.
    Thanks again.

    • @paphitisn
      @paphitisn  Před 5 měsíci

      Really glad this tutorial has helped save you work hours. Thanks for your comment and for sharing it with others.

    • @BKCreationz_SL
      @BKCreationz_SL Před 5 měsíci

      @@paphitisn ❤️😇

  • @carriemiller2393
    @carriemiller2393 Před 4 měsíci +1

    I can't thank you enough for this video. I'm glad I watched until the end because I only need .docx files and you made it very easy to understand how to edit the code. I have 3623 files to save, so THANK YOU THANK YOU THANK YOU!

  • @user-bv9tj8kr6t
    @user-bv9tj8kr6t Před rokem +4

    Thank you so much. I had a little difficulty until I realized that I hade to keep the first 4 fields in the spreadsheet as you had them, then add my stuff after.
    Worked perfectly and loved the screen tutorials

    • @paphitisn
      @paphitisn  Před rokem

      That's fantastic. I am glad it worked for you. Thanks for coming back to leave your feedback. I am sure it will help others

    • @JanBolhuis
      @JanBolhuis Před rokem

      Thank you. That's what I needed.

    • @cpydiana
      @cpydiana Před 5 měsíci

      Omg your comments saved my life!!! Thank you both!!

  • @bandar2032
    @bandar2032 Před měsícem +1

    Thank you so much for this amazing and helpful video! Your explanation of the mail merge process and converting files into personalized PDFs for each record was clear and detailed. Your presentation style and organization were excellent . I truly appreciate your effort in preparing and sharing this professional content with us. I will definitely recommend this video to others who need to learn this skill. Thanks again!

    • @paphitisn
      @paphitisn  Před měsícem

      I am really glad you found this usefull. Thank you for your comment.

  • @eatcellsbiologybites151
    @eatcellsbiologybites151 Před rokem +2

    Thank you! I'm new to Mail Merge and I needed to create separate PDFs with the recipient's name in the file name. This video is perfect for someone who has no coding background. Your instruction is excellent! In case this is helpful for others: It took me perhaps two hours to go through the video, take notes, and prepare my own Word doc and Excel sheet to practice. When I cut and pasted the code from the .txt file, the process would not Run. Rather, I received a Syntax error. Again, I don't code, so I didn't know how to fix that. Next I deleted that Module (as he does in the video) and imported the the .bas file. When I selected Run, it worked! Holy cannoli! It worked! I'll be using this often. One million thank yous for creating this excellent video and sharing the files.

    • @paphitisn
      @paphitisn  Před rokem +1

      Thankyou for taking the time to leave your feedback. I am happy you found this usefull. I will look into the text ersion of the code to see what may have cause the syntax error. I have another mothid for breaking up a pdf in to separate files which is not as good as this one but works and is great if you have been given a merged pdf document.
      czcams.com/video/MsUpz6docZA/video.html

  • @MriSimplify
    @MriSimplify Před měsícem +1

    This was awesome, thank you so much for the step by step guide and the macro. Saved me so much time!

    • @paphitisn
      @paphitisn  Před měsícem

      Glad to hear it. Thanks for your comment.

  • @jackduggan1049
    @jackduggan1049 Před 7 měsíci +1

    I found this after a few other attempts to accomplish this functionality which didn't work, however yours worked immediately and without issue, absolute life saver! Thanks mate.

    • @paphitisn
      @paphitisn  Před 7 měsíci

      That's reallybgreat to hear. I am glad it worked for you. Thanks for your comment

  • @GuadalupeMay
    @GuadalupeMay Před rokem +2

    This is amazing... I used mailmerge so many times in the years past, and it never occurred to me to look for a solution to save it in separate files... and for a big project I'm starting, this will save SO MUCH TIME, thanks! Very well explained, on top of everything!

    • @paphitisn
      @paphitisn  Před rokem

      Really glad you found it useful. Thanks for coming back and leaving your feedback

    • @JonnieDard
      @JonnieDard Před rokem

      Fantastic Nicos. This is really helpful. But I’m wondering how I can get this done when there a header with a logo and a footer ?

    • @paphitisn
      @paphitisn  Před rokem

      @@JonnieDard sorry i missed your comment. Header and footers are not an issue. If you add the header and footer to your master document it will be included in all merged documents.

  • @btjonaloi
    @btjonaloi Před 6 měsíci +4

    Amazing video, but even more amazing instructions, in detail, and with the possibility to skip to the part I need. Keep up this extraordinary work!

    • @paphitisn
      @paphitisn  Před 6 měsíci

      Really glad you found this usefull. Thanks for your comment.

  • @Bellacore72
    @Bellacore72 Před 5 měsíci +1

    You have saved me hours of typing and saving. THANK YOU for this video. Very easy to follow and worked like a charm

    • @paphitisn
      @paphitisn  Před 5 měsíci

      i am so happy this helped you. it really is a timesaver. Thanks for you comment.

  • @tonysimmons5953
    @tonysimmons5953 Před 3 měsíci +1

    THANK YOU for taking the time to put this together. This helped me tackle a project, saving countless hours. Cheers!

    • @paphitisn
      @paphitisn  Před 3 měsíci

      Thanks for you comment. I am glad this was useful for you and that it saved you some work hours. Hope you used those hours saved wisely :)

  • @jeanblaine3182
    @jeanblaine3182 Před rokem +1

    BRILLIANT!!! And no blank page at the end of the word document!! Thank you so much!!!!

    • @paphitisn
      @paphitisn  Před rokem +1

      I knew you would like this tutorial. Glad it worked out for you.

  • @user-dz2gh6ch5i
    @user-dz2gh6ch5i Před měsícem +1

    Amazinglys detailed presentation!!! So kind of you to share your work with us!! thanks is not enough!!!

    • @paphitisn
      @paphitisn  Před měsícem

      Really glad this helped you. Thanks for your comment.

  • @ATLuckykat
    @ATLuckykat Před 2 měsíci

    Thank you so much for this tutorial & the macro file. You saved me so much time & headache - and I learned a lot!

    • @paphitisn
      @paphitisn  Před 2 měsíci

      I am glad this was useful for you. Most of all i am glad you learnt a lot :) Thanks for your comment.

  • @user-ug7zd8sp3u
    @user-ug7zd8sp3u Před 6 měsíci +1

    Thank you so much for providing this video! This saved me so many hours of creating individual PDF documents.

    • @paphitisn
      @paphitisn  Před 6 měsíci

      I am glad this helped you. Thanks for your comment.

  • @giridhar2324
    @giridhar2324 Před rokem +1

    Hats off guru ji........from India
    Really i experienced my schooling days by your explanation. Its crystal clear.

    • @paphitisn
      @paphitisn  Před rokem

      Thank you for your kind words. I am glad my tutorials were useful to you.

  • @danimccarty-eigenmann5286
    @danimccarty-eigenmann5286 Před 3 měsíci +1

    WOW!!! You are my new hero. Thank you SO much for creating and posting this video. I don't actually care HOW it works, just that it DOES work!!!!! :)

    • @paphitisn
      @paphitisn  Před 3 měsíci

      Haha, i am glad you found this usefull. Thanks for your comment.

  • @5uysal
    @5uysal Před 10 měsíci +2

    I have been searching for this automation for ages! Thank you very much for explaining things in such detail that is so easy to understand and implement!
    Now I need to figure out how to email each file to the email addresses on the same data source! 😅

    • @paphitisn
      @paphitisn  Před 10 měsíci

      You an use Mail Merge Toolkit addin. It is free and easy to use.

    • @user-vm5nt5fs4k
      @user-vm5nt5fs4k Před 8 měsíci

      Good evening you know where i found the free Mail Merge Toolkit addin, because all that i found is not free@@paphitisn

  • @mily_vanilli
    @mily_vanilli Před 6 měsíci +1

    This is so helpful and is saving me HOURS of work. Thank you for the hard work you put in and the easy-to-follow instructions! If you ever have the time, I would love to see how to add to the macro the ability to add a sensitivity label to each document.

    • @paphitisn
      @paphitisn  Před 6 měsíci

      From what i know, that requires an A5/E5 license which i do not have.
      I am glad the this has saved you hours of work. Thanks for your comment.

  • @weiyang9137
    @weiyang9137 Před měsícem

    You are my new hero too! Thank you so much! It perfectly resolved our technical issue how to generate individual files with ID in the file name. YOU ARE THE BEST!

    • @paphitisn
      @paphitisn  Před měsícem

      I am so glad it helped. Thanks for your comment.

  • @MrToby2012
    @MrToby2012 Před 4 měsíci +2

    Thank you very much for the excellent presentation, informative explanations, and valuable module. Your efforts are greatly appreciated!🙏

    • @paphitisn
      @paphitisn  Před 4 měsíci

      you are welcome. Thanks for your comment

  • @user-ss2ux7pp6e
    @user-ss2ux7pp6e Před 9 měsíci +1

    This is unbelievable Nicos is a star

    • @paphitisn
      @paphitisn  Před 9 měsíci

      Thanks for your comment. I am happy you found this useful. This is definately a process which is becoming a more popular task for schools and small businesses.

  • @jacksonjolly1
    @jacksonjolly1 Před rokem +1

    My man you are awesome . You have no idea how much time you have saved me .

    • @paphitisn
      @paphitisn  Před rokem

      I am happy it helped. Thanks for your feedback

  • @christopherwilliams4395
    @christopherwilliams4395 Před 5 měsíci +1

    Dear Nicos thank you so much for the the code and the tutorial, this has saved me so many hours

    • @paphitisn
      @paphitisn  Před 5 měsíci

      I am very happy to hear that. Thanks for your comment

  • @eileenejoyapsong1516
    @eileenejoyapsong1516 Před rokem +1

    This is totally awesome I have been searching for the right video for this, and Yours is the BEST so far. It really helps me a lot in my reports as every month I have to generate a 5000 training certificate and have to rename them .... what a mess.

    • @paphitisn
      @paphitisn  Před rokem

      That is awesome. I am glad it helped. Thanks for the feedback

  • @cwilks78
    @cwilks78 Před měsícem +1

    So helpful, this video has saved me hours!

    • @paphitisn
      @paphitisn  Před měsícem +1

      I am glad. thanks for your comment

  • @loiiblank4699
    @loiiblank4699 Před rokem +2

    Thx from Germany. Big ups. This code goes so hard. I am trying to make it more general so that basically anyone can use it without having to make folders and maybe a gui so you can type in how files can have individual names :) Anyways big help. I am super happy about this.

    • @paphitisn
      @paphitisn  Před rokem +1

      Thank you your feedback. Your project sounds great. Please let me know how you get on and please share your work with us if you get it working. It sounds awesome. I would be happy to make a tutorial on it (and of course reference you ) if you get it working. It will help a lot of people.

    • @loiiblank4699
      @loiiblank4699 Před rokem +2

      @@paphitisn Right now I just got it to save more data fields. I am having an issue with spaces and parenthesis.
      ... DataFields("Nam new").Value... If I replace the space with underscore it works but I also have
      ... DataFields("Nam (new)").Value...
      Even if I replace the underscore it still throws a runtime error.
      Also amazing documentation. I am used to look at completly wild and uncomented code so this is a blessing. I am not new to VBA but it is has been a while since I used it :)

    • @loiiblank4699
      @loiiblank4699 Před rokem +2

      Oh, figured it out. It just escapes it automatically. I just removed the parenthesis and it worked. lol :)

    • @paphitisn
      @paphitisn  Před rokem +1

      @@loiiblank4699 Great :)

  • @edme1055
    @edme1055 Před 3 měsíci +1

    very much appreciated! Excellent work and super complete! Love it and it helped me out so much. Thank you very much. Greetings from Belgium.

    • @paphitisn
      @paphitisn  Před 3 měsíci

      That is great to hear. I am glad it helped you thanks for your comment.

  • @YaroslavVelikiy_
    @YaroslavVelikiy_ Před 6 měsíci +1

    Thanks For your help - I already was ready to start doing it by myself!

  • @deborahaguilar2028
    @deborahaguilar2028 Před 6 měsíci +2

    Amazing video, thank you for showing every detail!

    • @paphitisn
      @paphitisn  Před 6 měsíci

      You are more than welcome. Thanks for your comment.

  • @BubbasWorkshop
    @BubbasWorkshop Před 8 měsíci +1

    Thank You! AND thanks for commenting your code so it was easy to modify just to export pdf's or word docs.

    • @paphitisn
      @paphitisn  Před 8 měsíci

      I am glad you found this usefull. You are welcome for the comments 😀
      Thanks for your comment.

  • @jorgedemi7604
    @jorgedemi7604 Před 7 měsíci +1

    Much appreciated Nicos, very useful info. Worked on my first try!

    • @paphitisn
      @paphitisn  Před 7 měsíci

      That is fantastic. Well done. Glad you found it useful. Thanks for the comment.

  • @jesusbarba998
    @jesusbarba998 Před rokem

    This is an incredible tool. Really appreciate you explaining the code as well to customize it as needed. Saved me hours of work, thanks a lot!

    • @paphitisn
      @paphitisn  Před rokem

      Thanks for the feedback. Really glad it helped you out

  • @user-rd1yk7zo8x
    @user-rd1yk7zo8x Před rokem +1

    Well done Nicos!
    This is a very helpful trick and will save my a lot of time!

    • @paphitisn
      @paphitisn  Před rokem

      Awesome. I am glad you found this tutorial usefull.

  • @lynntan15
    @lynntan15 Před 6 měsíci +1

    Thank you very much for your sharing. It is very very useful, save so much time.

    • @paphitisn
      @paphitisn  Před 6 měsíci +1

      I am glad it helped. Thanks for your comment

  • @lavieenrose9421
    @lavieenrose9421 Před 4 měsíci +1

    Thank a lot for the detailed explanation and tutorial! Much appreciated! This is really helpful!

    • @paphitisn
      @paphitisn  Před 4 měsíci

      You are welcome. Thanks for your comment

  • @KelliHarrington
    @KelliHarrington Před rokem

    Awesome video! I have to send 800 letters so this was PERFECT! Great instruction and worked wonderfully! Thank you!

    • @paphitisn
      @paphitisn  Před rokem

      That is awesome. Were you able to merge all 800 in one go?
      If yes then you must have quite a bit of RAM capacity. Thnks for the feedback.

    • @KelliHarrington
      @KelliHarrington Před rokem +1

      @@paphitisn No, I did it in batches but still HUGE time savings. Much appreciated!

    • @paphitisn
      @paphitisn  Před rokem +1

      @@KelliHarrington that makes sense. Actually a good idea to work in batches even if you could merge all in one go. It is a fail safe if something goes wrong. God job

  • @shivagunti
    @shivagunti Před 2 měsíci

    Wow! Astounding. Thanks a ton for making this video for me in advance.

    • @paphitisn
      @paphitisn  Před 2 měsíci

      I am glad you found this useful. Thanks for your comment.

    • @shivagunti
      @shivagunti Před měsícem +1

      @@paphitisnIn my case, on a daily basis i use your method and keep on adding the data in the same file order wise, so how to comment off the previous data so that only new loaded data should merg.

    • @paphitisn
      @paphitisn  Před měsícem

      ​@shivagunti add another column in your data. It could be a date or a simple incrementing number. When you add the next data add the next numbe so if the previous number was 15 then all the new records will have the number 16. Before you merge filter the data on the records which equal 16 in that column. Then merge. Or use a date field and filter on date added. This will allow you to also track when records were added

  • @GideonMacks
    @GideonMacks Před 16 dny +1

    Be blessed so helpful, Nice instructions

    • @paphitisn
      @paphitisn  Před 16 dny

      @@GideonMacks thank you for your comment. I am glad this was helpful.

  • @hunain4071
    @hunain4071 Před 5 měsíci +1

    Thank you so much for this amazing tutorial.

    • @paphitisn
      @paphitisn  Před 5 měsíci

      Thank you for your comment. I am glad this helped you.

  • @Misky1993
    @Misky1993 Před 4 měsíci

    This is very helpful. Thank you so much! :)

    • @paphitisn
      @paphitisn  Před 4 měsíci

      I am glad. Thanks for your comment

  • @Martin-zz8ii
    @Martin-zz8ii Před 3 měsíci

    Thank you so much Sir for this excellent presentation, it has really benefited me a lot.

  • @wander7673
    @wander7673 Před rokem +1

    Thank you for this and the explanation of the macro! This is exactly what I was looking for!

    • @paphitisn
      @paphitisn  Před rokem

      That's great. Glad you found it usefull. Thanks for the feedback

  • @ravenswoodnyc
    @ravenswoodnyc Před 4 měsíci +1

    my dude, this is awesome. thanks!

    • @paphitisn
      @paphitisn  Před 4 měsíci

      Glad you found it useful. Thanks for your comment

  • @user-zq2jb5kl7r
    @user-zq2jb5kl7r Před 10 měsíci +1

    Awesome.... just what I was looking for

    • @paphitisn
      @paphitisn  Před 10 měsíci

      glad to hear it. Thanks for the comment

  • @charalamposcharalampakis9278

    Teacher with Capital T! Excellent lesson

    • @paphitisn
      @paphitisn  Před rokem

      Thank you. I am glad you found this usefull. From the name intake it you are feom Greece, Crete?

  • @fablecenter3098
    @fablecenter3098 Před 20 dny

    This is extremely useful!!! THANK YOU!!!

    • @paphitisn
      @paphitisn  Před 20 dny

      I am glad to hear it. Thanks for your comment.

  • @roshanalv
    @roshanalv Před rokem +1

    Brilliant , love this video. Hats off !!!

    • @paphitisn
      @paphitisn  Před rokem

      Thanks, glad you liked it. Lersonally i used it today to generate around 100 student certificates. Even merged their photo in the document.

  • @RR-oe7op
    @RR-oe7op Před 5 měsíci +1

    This is great! work like a charm. Thank you for sharing!

    • @paphitisn
      @paphitisn  Před 5 měsíci

      Glad it was useful for you. Thanks for the comment

  • @humairakhan597
    @humairakhan597 Před rokem +1

    This is perfect!! Thank you very much for sharing your knowledge!

    • @paphitisn
      @paphitisn  Před rokem

      You are welcome. I am glad you found it useful

  • @rachelmansour6928
    @rachelmansour6928 Před rokem

    Thank you so much for this! Your instructions were super clear and easy to follow, and it worked brilliantly. Much appreciated!

    • @paphitisn
      @paphitisn  Před rokem

      That's great. Glad i helped and that it worked out for you.

  • @mikelescai9078
    @mikelescai9078 Před rokem +1

    Great Stuff, especially the VB code. My imported code stopped - and I worked out I had duplicate entries in the FileName field. In my large file, I ran the conditional format duplicate feature in the MS Excel and found the problems. Thanks for the work and clues.

    • @paphitisn
      @paphitisn  Před rokem

      Awesome. Nice work with the use of conditional format to find the duplicates.

  • @sephas79
    @sephas79 Před rokem +1

    A life saving video! thank you so much for simplify my life :)

    • @paphitisn
      @paphitisn  Před rokem +1

      I am glad it helped. Thanks for the feedback.

  • @onkarshinde4424
    @onkarshinde4424 Před 6 měsíci +1

    I tried this code on another word document. But after running the code it show - Run time error 5852. Requested object is not available.

    • @paphitisn
      @paphitisn  Před 6 měsíci +1

      Please check the folder names and locations as this will be your issue. Field names must be correct. If you d check everything it will work. See pin ed and peevious posts.

  • @jessicamorris7025
    @jessicamorris7025 Před rokem +1

    So easy to follow. Would you be able to do a video or let me know how the documents could be saved in their own personal folder? So using your example have the merged paper saved in the students individual file you’ve created

    • @paphitisn
      @paphitisn  Před rokem

      Never thought there would be a need to generate folders for each file but yes it can be done and i will probably make a video soon. However if you want to have a crack a it here is how i would do it.
      In a separate column in the Excel file use text manipulation to ad the letters md followed by a space and then the unique file name, so it would look something like this without the quotes "md Nick_Paphitis"
      Duplicate this for all the entries. Copy this data and paste in a notepad. Rename the extension from .txt to .bat. Place the .bat file in the folder where you will export and double click on it. This will now generate all the folders.
      Now go back to the Excel file. You can delete the column you made. For the columns WordDocs and PdfDocs delete the location paths and create the path with the unique folder paths. Now each entry has a unique path instead of the same one and those folders already exist as you already generated them.
      hope that make sense.

  • @fawnchangTheGentleSHIFTAcademy
    @fawnchangTheGentleSHIFTAcademy Před 3 měsíci +1

    Thank YOU! This was amazing and so helpful!

    • @paphitisn
      @paphitisn  Před 3 měsíci

      Thanks for your comment. I am glad this helped

  • @AndrewTotsky
    @AndrewTotsky Před měsícem

    Works perfectly. Thank you!

    • @paphitisn
      @paphitisn  Před měsícem

      That is great to hear. thanks for your comment.

  • @chelsea-eu9hz
    @chelsea-eu9hz Před 8 měsíci +1

    This is not working for me. I keep getting an Error 5941... I read somewhere it is because i am on a shared network, I am doing this on my work laptop so i have moved all files to my system c drive and it still will not work........

    • @paphitisn
      @paphitisn  Před 8 měsíci

      I suggest using your desktop or documents folder as the C: may be prtected. If it does not work in these lications then i suggest you double check the paths of folders and names of columns in the data source.

  • @kelseymefford6947
    @kelseymefford6947 Před 11 měsíci +1

    I receive an error that says "Run-time error '5852': Requested object is not available." Do you know how to troubleshoot this issue?

    • @paphitisn
      @paphitisn  Před 11 měsíci

      Check all folder names, field names in the data source and the folder paths in the data source

  • @wisefoolelliot
    @wisefoolelliot Před měsícem +1

    Your tutorial is excellent! I need your advice and guidance: If the Excel source file includes an additional heading titled "Sports Interest" (e.g., Chess, Tennis, etc.), is it possible tp modify the code so that it saves a Word document/PDF containing all the pages of records for members with the same sports interest? Thank you.

    • @paphitisn
      @paphitisn  Před měsícem

      Yes. If you have the fields in the spreadsheet then form the Mail merge in word you can filter the records and export only the records you want. Have a look at this and it will explain the process:
      czcams.com/video/taeWuL9VH18/video.htmlsi=_Qo0lHwj9xJ5e1c5

  • @rosariomarquez7452
    @rosariomarquez7452 Před rokem +1

    I.was a le to use it and run it. This is very helpful. Thank you so much! 😊

    • @paphitisn
      @paphitisn  Před rokem

      Awesome. Thanks for the feedback.

  • @JanBolhuis
    @JanBolhuis Před rokem +1

    Excellent video and explanation. Thank you!!

    • @paphitisn
      @paphitisn  Před rokem

      I am glad it helped. Thanks for the comment

  • @scottdobbins5841
    @scottdobbins5841 Před 11 měsíci +1

    Can't thank you enough for this video.

    • @paphitisn
      @paphitisn  Před 11 měsíci

      You just did :)
      Thank you for your comment.

  • @khalidnazim
    @khalidnazim Před 9 měsíci +1

    Excellent work Nicos. This process created an incredible productivity improvement for me at work. Thank you so much. Is it possible to do this through excel only?

    • @paphitisn
      @paphitisn  Před 9 měsíci

      I am glad this helped you. Thanks for your comment. Excel provides only the data source, it does not do mail merge. You can take Excel out of the process and use a different data source like a database or csv file but not merge through Excel.

  • @stanislav6723
    @stanislav6723 Před 5 měsíci +1

    Good job! Really helpfull! I modified it a little bit though. The only thing that I changed that I added is a window that asks me to enter starting and ending record numbers cause I use list that I update every day and I don't want it to start from the first line every time

    • @paphitisn
      @paphitisn  Před 5 měsíci

      Good job. Interesting add. I normally have a column with and incrementing number and use this column to filter the recipient list (from word mailings edit recipient list). It adds a bit more flexibility than a starting point. You could have a date field and filter on date after.
      Thanks for you comment.

  • @dalpatmistry5571
    @dalpatmistry5571 Před rokem +1

    this is great explanation and very happy to see it

  • @bboxall7452
    @bboxall7452 Před 7 měsíci +1

    Nicos this is really useful, thanks very much. I am using this along with someone elses VBA code which then sends emails with the custom PDFs created by yours. I am wondering if yours would also be able to send the custom PDFs to custom addresses (stored in an extra column in your spreadsheet)? To have both processes in one vba would be amazing. I am not enough of a coder to splice the two bits of code together. Thanks!

    • @paphitisn
      @paphitisn  Před 7 měsíci

      Definately possible. I however use a Word addin for sending the personalised pdf docs as attachments. It allows me to send personalised emails, cc bcc and a few other options also. To recreate this from the start would be alot of hassle. If you want, send me the vba code you are using and i will check to see if it can e merged with the mail merge code.

  • @Pipo_gt
    @Pipo_gt Před rokem +1

    I LOVE THIS MAN! Thank you so very much!

    • @paphitisn
      @paphitisn  Před rokem

      You are most welcome. Thanks for the feedback, it is appreciated.

  • @CaSa-ck8pp
    @CaSa-ck8pp Před 2 měsíci +1

    Great tutorial. I was wondering how I can copy the macro?

    • @paphitisn
      @paphitisn  Před 2 měsíci

      You can find a link to download the macro and the code in the description.

  • @pasakornsudsataya705
    @pasakornsudsataya705 Před rokem +1

    Thank you so much, you saved my time.

  • @user-qi9vq4th1p
    @user-qi9vq4th1p Před 7 měsíci +1

    Is the a Word setting i need to change before i put and run the macro? Because once i "Run" the macro, it still pops up the "Save as" dialog box and i will have to save it manually.

    • @paphitisn
      @paphitisn  Před 7 měsíci

      No, the only thing you need is to enable the Developer ribbon so you can access Macros. Which you have done as you can see the Macros section in the developer ribbon. Have you imparted the .BAS file. If not do that instead of creating a new macro and pasting the code.

  • @maheshmistry5382
    @maheshmistry5382 Před rokem +1

    many many thanks sir this information is very very useful for me. thanks

    • @paphitisn
      @paphitisn  Před rokem

      You are very welcome. I am glad you found it useful

  • @matthewfarmer6615
    @matthewfarmer6615 Před 3 měsíci +1

    Hi,
    Thank you for the video. It is exactly what I have been looking for.
    Unfortunately I am receiving an error when it is running the macro.
    It creates the first word doc but fails to create the first pdf document.
    I receive a run-time error message '5941': The requested member of the collection does not exist.
    I have followed all of the steps and rewatched three times, but i'm baffled as to what I am missing.
    Do you have any suggestions what could be going wrong?
    Many thanks, Matt

    • @paphitisn
      @paphitisn  Před 3 měsíci

      Yes, check the field names you have specified in the macro and make sure they are exactly the same (small and capital letters) in the spreadsheet. Check that the file paths specified in the word and doc column are correct. Make sure to let me know if this has helped and you have resolved your issue. If the first word document is saving then it is a likely one of the 2 suggestions above. You could always remove the save to PDF commands and see if it exports all the word documents to make sure everything in the macro works.

  • @user-mn3wo9kf1f
    @user-mn3wo9kf1f Před 8 měsíci +1

    Hi there! Thank you for your video. I'm running into an issue with the module and I've checked and rechecked the file names and paths on each of my documents and there are no issues. I even tried deleting the Word exportation section of the code to see if it would just run the PDFs, but unfortunately it ran with the same error. Any thoughts on how to fix this? Thanks!

    • @paphitisn
      @paphitisn  Před 8 měsíci

      Without knowing what issue you are running into i will assume you have tripplechecked evreything. If this is the case then the issue maybe the location where your folder is. Do not use a synced cloud folder like dropbox or onedrive. Also dont use c:\ as you may need elecated privileges to write here. Use a folder on the desktop. Make sure to add the new path in the data source. Let me know how it goes.

    • @user-mn3wo9kf1f
      @user-mn3wo9kf1f Před 8 měsíci

      Our desktop is on the c:\ folder, so I tried to move it over to my personal MacBook (and adjusted the path names), and I'm getting the error around the "ExportAsFixedFormat" command. Any thoughts? @@paphitisn

  • @kristichastain1560
    @kristichastain1560 Před 4 měsíci +1

    Hi Nicos - how do I modify the export block (SingleMergeDoc.ExportAsFixedFormat) to export it as html (is this possible)? I tried a couple of things but they didn't work. Thanks!

    • @paphitisn
      @paphitisn  Před 4 měsíci +1

      Hi. I have never looked in to that to be honest. I will have a look at the save command for html when i have some time.

  • @Pawan-zb4jd
    @Pawan-zb4jd Před 7 měsíci +1

    Hi, why im getting a Run Time error 5941 and the requested member of the collection does not exist ?

    • @paphitisn
      @paphitisn  Před 7 měsíci

      Make sure the folders you are saving to are not in protected windows locations, use documents or desktop. Also do not use cloud synced folders, they cause issues. Next check and make sure that the folders and their paths are correctly addressed in the data source file.

  • @user-yl6ir8nu1y
    @user-yl6ir8nu1y Před 7 měsíci +1

    THANK YOU. This is exactly what I was looking for, and your teaching is PHENOMENAL.
    However, I followed your instructions but I get "Run Time Error 5". It only saves 1 word doc and cannot proceed any further. can you please help? I keep your excel column names exactly and have not changed anything. I give permission for the macro to access the folder where files are being saved and everything. Any ideas what can be wrong?

    • @paphitisn
      @paphitisn  Před 7 měsíci

      If it is saving a file and stopping it means that you must have an error in your folder names or location. Is it generating both the work and pdf for the 1 file? if no then look at the pdf info. If yes check your data source as you may have an error in the file path for the second one. Be careful of leading or trailing spaces in your data source for the paths.

  • @alexsaat6763
    @alexsaat6763 Před 3 měsíci +1

    Hi, is there any way we can automatically send the individual files to respective recipients after generating them

    • @paphitisn
      @paphitisn  Před 3 měsíci

      The best method i have found to be able to send the personalized pdfs to individual recipients is with Merge Tools Adin
      mergetoolsaddin.com/
      it is free but you can donate.
      i have also used Merge Toolkit which has an annual cost
      www.mapilab.com/outlook/mail_merge/
      Both will allow you to attach an individualized email to your recipients.

  • @user-zn5wg7ie6q
    @user-zn5wg7ie6q Před 3 měsíci +1

    Brilliant!!

    • @paphitisn
      @paphitisn  Před 3 měsíci

      Glad you found this useful. Thanks for your comment

  • @SandraMeecham
    @SandraMeecham Před 2 měsíci +1

    Thank you Nicos, This is such a useful Tutorial. Thank you also for the downloads. I am getting an error message run time error 5852 requested object is not available. Something to do with marking the last page - do I have to edit the document on the last page with a zero?

    • @paphitisn
      @paphitisn  Před 2 měsíci

      Makesure you are not saving the files in a synced cloud folder like onedrive or in a protected location. Use documents or desktop location. Make sure you have acurately entered the folder locations in the spreadsheet. Make sure the headings of the columns in the spreadsheet are exactly correct unless you have changed the code. Let me know how it goes. Your error is related to it not finding the folder locations so double check everything.

  • @user-ld2tr4yx8p
    @user-ld2tr4yx8p Před rokem +2

    Hello, Nicos - Your videos have been super helpful with enhancing our MailMerge skills within our department. I actually landed here after watching your other video on MailMerge, in hopes that the coding would preserve our formatting/branding of the documents, which went well mostly! One thing that doesn't seem to keep is our links within the document (such as bookmarks or linked headers). Any guidance?

    • @paphitisn
      @paphitisn  Před rokem

      Hi, i am glad the videos have helped you.
      As for your issue, i am not sure why it is doing that. I have not had issues with links. Are the links in the master dochument recognised as links (usually blue text color)?
      Have you tried a traditional mege to single file and it works ok?
      It is a bit hard to fault find in the blind but the above questions would be the first things i would look in to.

  • @user-ie2mo3vl5g
    @user-ie2mo3vl5g Před 9 měsíci +1

    Great!!!

  • @kevintafili5221
    @kevintafili5221 Před 9 měsíci +1

    This is amazing! Thanks for sharing.

    • @paphitisn
      @paphitisn  Před 9 měsíci +1

      Thanks for your comment. I am glad this was useful for you.

  • @SenenPaez
    @SenenPaez Před 16 dny +1

    is this applicable to Office 365? Apps for Enterprise? the problem i encounter is that the original document close upon execution so only the first record is processed. It stops after processing the first record. How can i work around it?

    • @paphitisn
      @paphitisn  Před 16 dny

      Definately applicable. Dows it generate both the word and pdf of the first record? If yes check the file folder path and file names of the second record. To check, delete the first record so the second becomes the first. Run the macro, does it generate? If it does then you have probably made a change to the macro. Use the original macro.

    • @SenenPaez
      @SenenPaez Před 16 dny

      @@paphitisn thank you for your reply and for your video. another subscriber here. Yes it always create the first record only. It generates both doc and pdf. I did not change anything. i just copy paste it, i also watch your video, checked them all lcharacter per character and renamed all my files to your files. My excel file however does have other columns, could it have affected the merge? how can i send a a screenshot of the error?

  • @anaangelov4571
    @anaangelov4571 Před 4 měsíci +1

    Went through all steps and at this end an error Run-time error 5852 shows up. Any suggestions here?

    • @paphitisn
      @paphitisn  Před 4 měsíci

      make sure the folder you are saving the documents in is not a cloud synced folder like dropbox or onedrive. Also make sure the folder is not in a protected location like directly in C:\
      Use a folder on the desktop to make sure.

  • @ieuanmale-maltby5869
    @ieuanmale-maltby5869 Před rokem +1

    Wow!!! what an amazing help! thank you very much!!!

    • @paphitisn
      @paphitisn  Před rokem

      I am glad you found this helpful. Thanks for the feedback

  • @aritra4u
    @aritra4u Před 7 měsíci +1

    Is there any way to download the VB Code without having a dropbox account. It does not permit me to download from my official laptop and I need this for my team.

    • @paphitisn
      @paphitisn  Před 7 měsíci

      Sure, here is a download link. Let me know if it works for you:
      thejuniorschool-my.sharepoint.com/:u:/g/personal/nick_theseniorschool_com/ETex9B3wX4tCoAAL633oa2YBCZU9EcOBH2ue0me2lDjoOg?e=PzvYeF

  • @cganet3551
    @cganet3551 Před 5 měsíci +1

    Struggling again with this - by some miracle it worked last year after hours and hours of trying everything... cannot for the life of me figure out why it's happening again this year. Can you comment on what would cause a "run-time error 5941"? I have followed instructions to the T. Watched your video many times, went to another computer (in case Sharepoint or using macros were a problem), all to no avail. What could possibly be happening? Reworked all my documents, shortened paths to folder locations, etc. used your exact verbiage, used your exact templates. but cannot make it work...

    • @paphitisn
      @paphitisn  Před 5 měsíci

      Do not you synced cloud folders or prtected system folders like c:
      Use desktop or documents to be safe. Check file paths and spelling. Let me know if it works or if you still have issues.

  • @sandraniffenegger8917
    @sandraniffenegger8917 Před 7 měsíci +1

    THANK YOU SO MUCH!! This VB File helps me a lot! I have created donation receipts for an NGO, now I have to send them individually by e-mail to 400 addresses. Do you have a recommendation for an Outlook or Gmail add-in? I'm thinking about buying the Merge Toolkit from Mapi lab. Or could this even be done with VB and macros?

    • @paphitisn
      @paphitisn  Před 7 měsíci

      Inam glad this helped you. Thanks for your comment. It can be done with VB code but i personally use the Merge Toolkit as it offers alot of other features you will end up using.

  • @JenniferVibert
    @JenniferVibert Před 5 měsíci +1

    Thank you so much for this Nicos! I am having issues using the code in my Macbook. Can someone advise please?

    • @paphitisn
      @paphitisn  Před 5 měsíci

      i dont have a mac so i can not help you. Lets hope someone here has succeeded using this with a mac. I would think that if you modify the paths to reflect the path of the folder location on a mac it should work. You will need to modify the save paths in the spread sheet also. Again i am not a mac user so i am just assuming that it should work.

  • @jackytsz
    @jackytsz Před 7 měsíci +1

    Thank you very much! This is very useful, and I am able to add new field named OUTPUT and only export docx when I put “Y” under the field. However the generation is a bit slow and I am wondering is there any trick to improve the speed? I am export around 300 documents, around 8 pages long.

    • @paphitisn
      @paphitisn  Před 7 měsíci

      Well done for modifying it to improve work efficiency. As for the speed, it depends on your device, amount of RAM and the length of the document as the documents are kept open until the process finishes. You may find it gets slower as it progresses if you have a lot of documents. I would suggest add another field so that you can add a number like 1, 2, 3 etc. add the number 1 for the first 50 records, 2 for the next 50 and so on. This will allow you to filter on this field and only merge 50 documents at a time. This should improve the speed as you will only be merging 50 records at a time ana you will avoid the long delays when you are on the 100th or 20th record. Let me know if this works for you and improves the speed for you.

  • @JSN-km6hj
    @JSN-km6hj Před rokem

    Thanks it was very helpful… you explained it so well