Automate Mail Merge with Excel Database using VBA (Macro)

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ค. 2020
  • In this video I Mail Merge a Word file using Excel file as a data source automatically by the help of visual basic programming language bundled with excel.
    If you have any queries or you would like to get something like this done, you can mail me : dj_faris203@yahoo.com
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 41

  • @Furthy2
    @Furthy2 3 หลายเดือนก่อน

    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 3 ปีที่แล้ว +1

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

  • @sonexaysounantha1097
    @sonexaysounantha1097 หลายเดือนก่อน

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

  • @johnvodopija1743
    @johnvodopija1743 3 ปีที่แล้ว +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  3 ปีที่แล้ว +1

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

    • @keving4409
      @keving4409 3 ปีที่แล้ว +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.

  • @MrIbraomer
    @MrIbraomer 3 ปีที่แล้ว

    Hi Faris,
    Thank you for your Mail Merge post on TH-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?

  • @chanothebest
    @chanothebest 3 ปีที่แล้ว +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.

    • @MissMostViewed
      @MissMostViewed  3 ปีที่แล้ว

      Yes that can be done with VBA coding

  • @MaybelleMagallon
    @MaybelleMagallon ปีที่แล้ว

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

  • @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.

  • @ajayganesh7770
    @ajayganesh7770 4 ปีที่แล้ว

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

    • @MissMostViewed
      @MissMostViewed  3 ปีที่แล้ว

      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 6 หลายเดือนก่อน

      PLEASE SEND ME THE CODE FILE

  • @bagusaditya1234
    @bagusaditya1234 หลายเดือนก่อน

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

  • @TalkRK
    @TalkRK 6 หลายเดือนก่อน

    Why you can't share file over drive link

  • @VIJAY-bq8dx
    @VIJAY-bq8dx 2 ปีที่แล้ว +1

    Sir, can you please share the file??

  • @MrPumaralant
    @MrPumaralant 3 ปีที่แล้ว

    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.

    • @MissMostViewed
      @MissMostViewed  3 ปีที่แล้ว

      kindly mail me on dj_faris203@yahoo.com

  • @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

    • @MissMostViewed
      @MissMostViewed  3 ปีที่แล้ว

      send me a mail with all the details.

  • @sayaligawade7782
    @sayaligawade7782 3 ปีที่แล้ว

    Can you please share the file with macros

    • @MissMostViewed
      @MissMostViewed  3 ปีที่แล้ว

      kindly mail me on dj_faris203@yahoo.com

  • @talantiarun
    @talantiarun 3 ปีที่แล้ว

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

    • @MissMostViewed
      @MissMostViewed  3 ปีที่แล้ว +2

      Thats exactly what i have done

  • @kashafkhan3487
    @kashafkhan3487 2 ปีที่แล้ว

    Can you please send me this code.

    • @MissMostViewed
      @MissMostViewed  2 ปีที่แล้ว

      kindly mail me on dj_faris203@yahoo.com

  • @Phron2525
    @Phron2525 8 หลายเดือนก่อน

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

    • @Phron2525
      @Phron2525 8 หลายเดือนก่อน

      I sent you a email