Automate Mail Merge with Excel Database using VBA (Macro)

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 41

  • @Furthy2
    @Furthy2 9 місяців тому

    Hey man, your video is gold! Your way of explaining how code works is amazing. Really looking forward to seeing more shares from you

  • @papubhoi
    @papubhoi 4 роки тому +1

    Very helpfull.. I was searching for it... Thanks a lot buddy..

  • @sonexaysounantha1097
    @sonexaysounantha1097 7 місяців тому

    Thanks for the tutorial. This is superb!
    Can you please share with me the codes please?

  • @ajayganesh7770
    @ajayganesh7770 4 роки тому

    Hello.. Thanks for your support.. I have modified the code now it can save as individual pdf as well

    • @MissMostViewed
      @MissMostViewed  4 роки тому

      Great 👍

    • @CBCSolutions
      @CBCSolutions 3 роки тому

      @@MissMostViewed thank you for the video. How can the code be modified to save as individual PDFs?

    • @MissMostViewed
      @MissMostViewed  3 роки тому

      @@CBCSolutions email me on dj_faris203@yahoo.com

    • @TalkRK
      @TalkRK Рік тому

      PLEASE SEND ME THE CODE FILE

  • @chanothebest
    @chanothebest 4 роки тому +1

    What if I want to paste the data onto the excel sheet and then use the macro, but I want it to mail merge all the data pasted into it not just 8 letters. So this could be 10, 15,100, list of rows of data. Can the excel vba adapt.

  • @MrPumaralant
    @MrPumaralant 3 роки тому +1

    Hi, could anyone help me solving this error I'm getting.
    I get the "compile error: User-defined type not defined" message when launching the code.
    it then points to the Dim wdApp As Word.Applicaton line.

  • @TalkRK
    @TalkRK Рік тому

    Why you can't share file over drive link

  • @johnvodopija
    @johnvodopija 4 роки тому +1

    This is a very helpful tutorial. Is there an easy way to have the vba prompt the user for the input excel file? I have a use case where the excel file name will be different (but data structured the same) each time the word template is used. Thank you 👍😎🇦🇺

    • @MissMostViewed
      @MissMostViewed  4 роки тому +1

      Yes code can be created for that also email me with the details

    • @keving4409
      @keving4409 4 роки тому +1

      Here are some instructions how you would create a file picker using getOpenFilename to capture the string location.
      www.xelplus.com/excel-vba-getopenfilename/
      Then you would simply pass that string as the datFile variable, instead of hard coding it.

  • @mariavenusunabia9855
    @mariavenusunabia9855 2 роки тому

    thank you for this vid. this is what I am looking for. no need to preview and click finish in mail merge tab instead it needs to use vba code. unfortunately I am not so familiar with the code.. can you help me with this vba think? please... thank you in advance sir.

  • @venkatramanms3891
    @venkatramanms3891 3 роки тому

    I am getting error as string is longer than 255 character, and my input contains more number of columns . How to fix this issue

  • @VIJAY-bq8dx
    @VIJAY-bq8dx 2 роки тому +1

    Sir, can you please share the file??

  • @Phron2525
    @Phron2525 Рік тому

    Hi, may I have a copy of the code please? Thanks

  • @MrIbraomer
    @MrIbraomer 3 роки тому

    Hi Faris,
    Thank you for your Mail Merge post on UA-cam,
    I have something like your mail merge video,
    I have a word file (letter) and also an Excel file that has a long list of recipients, I would like a macro to send emails with outlook to a filtered list from my Excel file everyday automatically but to only the recipients that I filter while the process of the mail merge, is that possible?

  • @MaybelleMagallon
    @MaybelleMagallon 2 роки тому

    good day! may i ask for a copy of your macro?? thank you.

  • @sayaligawade7782
    @sayaligawade7782 3 роки тому

    Can you please share the file with macros

  • @talantiarun
    @talantiarun 4 роки тому

    This is very helpful. Can we able to automate for MS project with Excel Database using VBA(macro)?

  • @kashafkhan3487
    @kashafkhan3487 3 роки тому

    Can you please send me this code.

  • @bagusaditya1234
    @bagusaditya1234 8 місяців тому

    Hi, may I have a copy of the code please? Thanks