Fill in Word with data from Access : MS Access 2010, 2007

Поделиться
HTML-код
  • Опубликовано: 6 ноя 2024

Комментарии • 115

  • @heartcaresydney
    @heartcaresydney 8 лет назад

    Thank you for great video. I noted if text in a field in Access is over certain count, it does not transfer to word document. Is there a way to allow for transferring larger blobs of data to word document, let's say 300 words?

    • @austin72406
      @austin72406  8 лет назад

      Need to use the bookmark method for large text. google for bookmark in vb word

    • @heartcaresydney
      @heartcaresydney 8 лет назад

      Thank you for reply, works great.

  • @CLEVDALE1
    @CLEVDALE1 9 лет назад

    Every-time I watch your videos I am able to expand what I understand about access thank you

  • @josephg.garblah8663
    @josephg.garblah8663 8 лет назад

    Hi Master Austin, you are truly my master,. Your tutorial means a lot to me. You are my trainer forever. Thank a lots

  • @ercave1
    @ercave1 10 лет назад +1

    So I have this tutorial implemented on a access 2007 database which automatically fills a ms word form and prints it and it works great, but now I'm stuck trying to figure out how to pass an image referenced with the full file path in one of the columns in my table. I can display the image on the form in access with no problem, but how can I get this to display in my word form? Thanks!

    • @austin72406
      @austin72406  10 лет назад

      sorry Ernesto, I haven't try it yet. maybe google can help you. Please let me know you found it. I can learn from you.

  • @Amaarkm1438
    @Amaarkm1438 4 года назад

    Thank You this helped alot, but can you also tell me how to after the word document opens and it fills in the word form can you make it automatically print out the word document ?

  • @edwwjy
    @edwwjy 9 лет назад

    Austin thx for the tutorial. One question: After the MS word has been filled from MS Access Data, Is there a way to remove the highlighted grey color on MS Word?

    • @vfrdirect8525
      @vfrdirect8525 9 лет назад

      +Edwin Wijaya You can remove the highlighted grey "Form Field Shading" by going to the same place you added the field --- on the right there is a box with lines through it and an "a" behind those lines (to depict shading) click that box it will remove the shading. From what I can tell its either on or its off. Having it off still allows you to fill in the form, its just not highlighted.

    • @edwwjy
      @edwwjy 9 лет назад

      Thx alot for the help :)

    • @HaroonKhalifa
      @HaroonKhalifa 7 лет назад

      Sorry, I can't figure it out where is the box to disable the "Form Field Shading".

    • @HaroonKhalifa
      @HaroonKhalifa 7 лет назад

      Where did you find the box to remove the "Form Field Shading" ?

  • @ercave1
    @ercave1 10 лет назад

    I have created a button to fill a word document as instructed on this tutorial and it works great. My question is how can I have access automatically print the filled document?

    • @austin72406
      @austin72406  10 лет назад

      if you don't to see/open MS Word then change code from "appword.Visible = true" to "appword.Visible = False" and delete or mark "appword.Activate" as comment. Then put code "appword.printOut" after "appword.visible = False"

    • @yuanguevarra9873
      @yuanguevarra9873 9 лет назад

      austin72406 but austin how can we put a code on the number of copies with that printout?

  • @Murshidtv231
    @Murshidtv231 3 года назад

    Assalam alaikom sir. i want ask how to fill the fillable pdf with access form button with one click. for example i made a bank slip and i want put all fee details in pdf fillable file

    • @austin72406
      @austin72406  3 года назад

      I have information at my website for filling form on MS Word, but not on pdf

    • @Murshidtv231
      @Murshidtv231 3 года назад

      @@austin72406 i knkw but if you try to make a video on fill an existing fillable pdf with access it will be great

  • @ronaldwilson7325
    @ronaldwilson7325 9 лет назад

    this worked great for me!. Are you able to fill in forms with fields from other tables?

    • @austin72406
      @austin72406  9 лет назад +1

      you can use Dlookup data from another table that related to current form.

  • @TacticalTechAdm
    @TacticalTechAdm 10 лет назад

    Thanks for the tutorial. Do you have the database you were working on available for download anywhere?

    • @austin72406
      @austin72406  10 лет назад

      I have some at www.iaccessworld.com, but probably not for fill in word

  • @mcaphnic
    @mcaphnic 8 лет назад

    In your example there is 1 entry per field (name, address ect.), per document. What if I want records of 3 names and addresses from my database inserted into the same word document? Ideally it would insert the three records, create a new word file with the next 3 and so on.

  • @guntergottbrecht5915
    @guntergottbrecht5915 8 лет назад

    Hi Austin,
    how can i import the detail section from a report to a place or bookmark in an existing word file?

  • @vampfaery
    @vampfaery 7 лет назад +1

    This is great, thank you!! One question, one of my columns in the form is an autonumber with a format "17-"00/1, and when it exports to Word it only enters the auto-numbered numeral (not the format). Any ideas on how to get the format to be entered with the auto-number? Thank you!!

    • @vampfaery
      @vampfaery 7 лет назад

      GOT IT! For anyone wondering, this is what you're looking for:
      .FormFields("txtCustomerID").Result = Format([CustomerID], """17-""000")

  • @lo-o5845
    @lo-o5845 6 лет назад

    Is it possible to choose multiple entries and then chain them to generate multiple words?

  • @sebastienlaroche7646
    @sebastienlaroche7646 8 лет назад

    Can this be done with Excel? I have demographic data on several congressional districts in Excel (District by avg age, income, etc) and I want to autofill a word document so that I can create a report that simply plugs in the demographic data. For instance if I want "District 112" I simply pull from a drop down menu and then the form/word document is completed automatically with the information relevant to District 112 not District 8.
    Or do i need to learn how to put my data into Access and then use this video make it using a "fill word" button?

    • @austin72406
      @austin72406  8 лет назад

      I believe there is the way to do it excel, but the code will be different. you may need to google it. However you can also link data or import data from excel to Access then use it from Access to word. It depends on which way you know more.

  • @bencivengafernando
    @bencivengafernando 5 лет назад

    Hi. Thanks for your tutorials! I need your help!
    How can i fill in microsoft word an image from access forms?

  • @gingerUK
    @gingerUK 5 лет назад

    hi there,
    I would like to create one button to click but in opening specific word file I would like it to give me options to choose which file to fill the data in. for example I have students in 3 different classes, and I want to issue certificate for them, but I don't want them to have the same design. so I have created like 3 word files with different designs. so I want class 1 to have file 1 class 2 to have file 2 and class 3 to have file 3 etc. so when I click the print button it will check what year the student in and then it will open the file belong to that class. can you please help me with one Video of how to do that or contact me in pvt please. Thank you in advance

  • @prabhakarpeje4076
    @prabhakarpeje4076 6 лет назад

    Hi Austin72406, Instead of a single button to open the filled word doc, can i get a dropdown/combo box for multiple word files filled data if there are many word documents .?

  • @williamherrera6524
    @williamherrera6524 10 лет назад

    Hello, I was wondering if you could assist with an application I want to develop which is somewhat like the one shown here. I am very new to Access and would like to know if you can give me some tips and advise as to how to get started.

    • @austin72406
      @austin72406  10 лет назад

      William Herrera can follow my video step by step and also watch another related video. if you have any question you can post in this comment I will answer it.

    • @williamherrera6524
      @williamherrera6524 10 лет назад

      I am not able to watch the first video in this series of advanced security for some reason it will not play...

  • @liamsmith2010
    @liamsmith2010 9 лет назад

    Hey Austin... These are great... Thank you... I've just got 2 issues1) my Memo fields are not exporting to the form2) I have also using a special vba for 'concatrelated' function for a field from Allen Browne, but am not able to have that field export to the form either...Any help would be great.

  • @niveditahandique1644
    @niveditahandique1644 9 лет назад

    Hi Austin, Thanks for the superb video . Do you have video as to how clicking buttons in multiple forms within that same database will allow the user to put in specific data in their required fields in the Word doc and in such that the doc template opens only once. Else it will ask for to save as seperate doc in the computer every time the user clicks the fill up word button, that is creating different docs based on the same template which I dont want.
    Many thanks

    • @austin72406
      @austin72406  9 лет назад

      you can create multiple buttons with different code/functions to open different templates. if you can close and save as a new doc with VBA, you don't have to see the doc open.

    • @ildarf.4057
      @ildarf.4057 6 месяцев назад

      ruclips.net/video/JilB511V3AU/видео.html&ab_channel=ProgrammingMadeEZ

  • @karensee3909
    @karensee3909 8 лет назад

    Hi Austin, I love your videos and have found them very useful. Is there anyway to modify the code so that the Word document opens in Edit Mode and not Read Only? Your help is appreciated.

  • @kavourakos
    @kavourakos 7 лет назад

    Hey friend, can you tell me how to transfer images(Attachments) to a word document?

  • @mswaggs905
    @mswaggs905 10 лет назад

    This is great information!!
    I was wondering if this could be modified to have output from a query, which has a variable number of rows (depending on filter) and 4 columns of related data, fill a location in a Word document?
    An example using your table information would be to have a query to identify all people who are from a specific state be identified, along with their first and last name, city and zip code. The output of the query would be added into a defined word document. Can something like this be done? Would you be able to provide the VB code or create a video to address something like this?

  • @Wilson_the_Mannequin
    @Wilson_the_Mannequin 8 лет назад

    Thanks Austin, the tutorial was great! I also used your tutorial for opening MS Outlook from Access. I also had an issue with the Word doc opening in "read-only" mode. Change True to False in the line: "Set doc = appword.Documents.Open(Path, , True)"...that will fix it...

    • @MrNamDO89
      @MrNamDO89 8 лет назад

      Hello Sean, can you please show me how to open in outlook by this method?

  • @simongoodwin8616
    @simongoodwin8616 9 лет назад

    Hi Austin
    This works excellent - only problem is when i go to do the next record the button opens the word application but with no document open....

    • @austin72406
      @austin72406  9 лет назад

      Need to put me.refresh to refresh data before calling a fill in word function

    • @simongoodwin8616
      @simongoodwin8616 9 лет назад

      austin72406 It still is not working, am i doing it wrong?
      Private Sub Command91_Click()
      Me.Refresh
      Call fillwordform
      Me.Refresh
      End Sub

    • @simongoodwin8616
      @simongoodwin8616 9 лет назад

      Simon Goodwin

    • @simongoodwin8616
      @simongoodwin8616 9 лет назад

      austin72406 and if i dont close the word form and run the button on a new record it updates the open word form and the opens a blank word over the top of it.

  • @luciehemba7161
    @luciehemba7161 4 года назад

    Hi, please can i fill a word template with informations of two differents table atbthe same time?

  • @naqeebahmed6133
    @naqeebahmed6133 7 лет назад

    Hi,
    i tried this not working i am using 2016 office.
    it is taking time but opening word file after i click on button from access database.
    please help.

  • @SuperPaunocudoyoutub
    @SuperPaunocudoyoutub 7 лет назад

    Hi Tewan, this worked very well but, Word opens in Read Only. How can I open the filled form in writable mode?

    • @SuperPaunocudoyoutub
      @SuperPaunocudoyoutub 7 лет назад

      So, I´ve managed to make the file in word not read only. Since i´m still improving the code maybe you could help - Do you know a way to open the SaveAs FileDialog box after exporting?

  • @carlosa1260
    @carlosa1260 10 лет назад

    Awesome, it worked for me too. Now my boss wants me to go a step further, how can i send data from 2 different forms or tables to my Word form? Do you know? Thanks

    • @austin72406
      @austin72406  10 лет назад

      Carlos A need to put them into one query first then pass it to one form then send email.

  • @adrienneryan1767
    @adrienneryan1767 9 лет назад

    This is great. I was wondering if you knew how to loop through the data from access to create a table. I have a form that contains a subform that is continuous. I want to be able to fill in a table in word to show all the data.

  • @martinthom1821
    @martinthom1821 8 лет назад

    Hello Austin..any suggestions or options regarding to this matter sir?...or maybe any related video i can watch to/. Tq very much sir..

    • @austin72406
      @austin72406  8 лет назад

      I have a sample file about Access and Word. It mostly shows how to export data from Access to Word. A little donation is greatly appreciated.
      Link here: www.iaccessworld.com/downloads/ms-access-vs-ms-word/

  • @kavourakos
    @kavourakos 8 лет назад

    Very nice. But, the word documents open in "read only" mode, I need them to open in "Edit" mode, how can i do that?

  • @ammarsadiq
    @ammarsadiq Год назад

    Can i get template plz

  • @Bonanza1LT
    @Bonanza1LT 7 лет назад

    thnxdood, u just made my nite...did not realize you needed to use legacy controls....1m thnx...c

  • @yuanguevarra9873
    @yuanguevarra9873 9 лет назад

    Hi Austin! Thanks for this video it helps me a lot but my problem is whenever i clicked the fill in word the ms word document didnt format in the standard format of currency (2,900.00)..its only formatted in "2900". I also tried to format the text box field which i created but it didnt worked..
    I did a calculated field on my ms access project so i will not type it and my job will be more easier but when it comes to ms word its not formatted on the way i like..i hope you can help me with my problem.
    Thank you very much :)

    • @austin72406
      @austin72406  9 лет назад

      for the current format, you can set the format of formfield in word as Type = NumberNumber Format = #,##0.00 for the calculation field in Access, you should pass a value of the calculated field, not a formula on that field. for example: Dim Newvalue as DoubleNewvalue = [Price]*[Quantity] then pass the value on Newvalue to a formfield in word.

    • @yuanguevarra9873
      @yuanguevarra9873 9 лет назад

      austin72406 but austin how can i pass the value of new value to the form field in ms word..i mean what code..sorry i dont have enough knowledge on visual basic..thank you so much for your quick reply

    • @yuanguevarra9873
      @yuanguevarra9873 9 лет назад

      austin72406 and where did i put that code on "on click"?

  • @Hasret001
    @Hasret001 10 лет назад

    Hi,
    I get an error VBA code:
    Function fillwordform () marked yellow?
    Please help.
    Ecevit

    • @austin72406
      @austin72406  10 лет назад

      please make sure you have correct coding.

    • @Hasret001
      @Hasret001 10 лет назад

      austin72406 Ok i have find it. Another question. Is it also possible to place more fillword buttons? if so, what is the vba code?
      Thank in advance

  • @josephg.garblah8663
    @josephg.garblah8663 8 лет назад

    From your video tutorial, I was able to complete a search form with a perfect working function. But a try to create a report button to automatically create a report from the records display in the search form and is no working for me. How can I get over this I need you help

    • @austin72406
      @austin72406  8 лет назад

      create a report of all data then add a button on form to open that report. And edit code to open report with filter only record from the search to show on report. you may find this solution on one of my video for create Search using combo box or list box

  • @slaweksawicki
    @slaweksawicki 8 лет назад

    HI - Great stuff - The only problem I have is to export MEMO filed from Access. It is limited to 255 characters only

  • @miles2221
    @miles2221 8 лет назад

    How would I then send the fill word document?

    • @austin72406
      @austin72406  8 лет назад

      you will need to save it or convert it to pdf if you want then attach it to outlook to send out.
      I have a sample download file here: www.iaccessworld.com/downloads/ms-access-vs-ms-word/

  • @ArtsAliveFlicksInTheSticks
    @ArtsAliveFlicksInTheSticks 2 года назад

    excellent, thanks for the help!

  • @margothabet9938
    @margothabet9938 7 лет назад

    Can I edit also in pdf through ms access?

    • @austin72406
      @austin72406  7 лет назад

      you edit in access before converting to pdf

  • @Phatgam1ng
    @Phatgam1ng 9 лет назад

    .formfields isn't coming up in my access 2010 code and then when I run the code it gives me a method or data member not found error ? can anyone help me out ? thanks

  • @fitaboi3969
    @fitaboi3969 6 лет назад

    Monster :) saved a lot of time!!!

  • @Hasret001
    @Hasret001 10 лет назад

    how it's work if you wan't fill excel invoice template?

    • @austin72406
      @austin72406  10 лет назад

      there is the way, but I haven't tried it. It will be using different VBA, but similar concept. another way you can create a report from Access and save it or send it as PDF.

  • @syahzannahazwana5837
    @syahzannahazwana5837 6 лет назад

    great tutorial! thank you! you save my life! but my question, how if i want to fill a multiple field in a table?

  • @ssdusd
    @ssdusd 5 лет назад

    Downloads Link does not work

  • @mohammedalkaabi5201
    @mohammedalkaabi5201 8 лет назад

    Oh man i really needed this.. Thanks a million =))

  • @martinthom1821
    @martinthom1821 8 лет назад

    hello Austin 72406...How can i fill in word Image from access?..seems that data can fill in word from access, how about images?..i actually doing a report via access using fill in word data from access but i do not know how about images....pls help..tq Very much sir.

    • @austin72406
      @austin72406  8 лет назад

      i have not tried this method yet.

    • @martinthom1821
      @martinthom1821 8 лет назад

      Any ideas sir?..any option?

    • @tekkygau
      @tekkygau 8 лет назад

      ɷɷ Heeyy Friendsss I Have Foundddd Workingggggg Online Hacck visitt : - t.co/vys4LeWkgZ

  • @ercave1
    @ercave1 10 лет назад

    Thanks, that worked great! Great videos looking forward to see more!

  • @moksha12
    @moksha12 9 лет назад

    Thank you very much Mr Austin!

  • @hadenhenha
    @hadenhenha 10 лет назад

    Thanks for the vids, this was really helpful

  • @medo85essam
    @medo85essam 7 лет назад

    what about office 2016?

    • @austin72406
      @austin72406  7 лет назад +1

      I have noticed that many of my function/codes in MS Access 2010 have problem with version 2016. I have not used version 2016.

    • @medo85essam
      @medo85essam 7 лет назад +1

      i find it, u can do this
      Function fillwordform()
      Dim appword As Object
      Dim docx As Object
      Dim Path As String
      On Error Resume Next
      Error.Clear
      Path = "d:\UP\NEW.docx"
      Set appword = GetObject(, "Word.application")
      If Err.Number 0 Then
      appword.Visible = True
      End If
      Set docx = appword.Documents.Open(Path, , True)
      With docx
      .FormFields("NO").Result = [Forms]![table1]![name]
      appword.Visible = True
      appword.Activate
      End With
      Set docx = Nothing
      Set appword = Nothing
      End Function

    • @HaroonKhalifa
      @HaroonKhalifa 7 лет назад

      can you please provide more help, as I have Office 2016 and the method on the video above does not work.
      It will be a grate help if you can provide the whole code.

    • @Adoensje
      @Adoensje 7 лет назад

      I doesn't work in my Office 2016 either. Could you help me please?

    • @MotlatsiMot
      @MotlatsiMot 6 лет назад

      check your reference, it works fine with me

  • @raul2839
    @raul2839 5 лет назад

    Thank you so Much!!!!!!!!!!!!!!!!!!!!

  • @yassineouiderne9164
    @yassineouiderne9164 9 лет назад

    good explain ser , but how i can convert document Access to word , i was have old application, so i need other new application for contunie my work. thank u again ser

  • @rachidcoster5043
    @rachidcoster5043 10 лет назад

    nice work man

  • @kingjames379
    @kingjames379 8 лет назад

    HI
    A really good video as always. But I want to ask that error is appearing "User defied type not defined". Below is my code. I have removed path...
    Function fillwordform()
    Dim appword As Word.Application
    Dim doc As Word.Document
    Dim Path As String
    On Error Resume Next
    Error.Clear
    Path = " "
    Set appword = GetObject(, "word.application")
    If Err.Number 0 Then
    Set appword = New Word.Application
    appword.Visible = True
    End If
    Set doc = appword.Documents.Open(Path, , True)
    With doc
    .FormFields("txtBorrower").Result = Me.Borrower
    .FormFields("txtBorrowerAddress").Result = Me.Borrower_Address
    .FormFields("txtProperty").Result = Me.Property
    End With
    appword.Visible = True
    appword.Activate
    Set doc = Nothing
    Set appword = Nothing
    End Function

    • @austin72406
      @austin72406  8 лет назад

      you did not set references to MS Word under the Tool menu bar.
      You can use the binding object to avoid the reference by changing the line below to:
      Dim appword As object
      Dim doc As object

  • @carlosa1260
    @carlosa1260 10 лет назад

    Disregard, i found the answer and it is one of Access weird things that i hate, i just changed my Table1 from "Tech Date" to "TechDate" without space and it did work.

  • @niveditahandique1644
    @niveditahandique1644 10 лет назад

    I gret a complile error User defined type not defined
    Function fillwordform()

    • @austin72406
      @austin72406  10 лет назад

      you need to make a reference to MS Word. Open VB Application then select Reference.. under the Tools Menu. Scroll down and check on Microsoft Word 14.0 object Library (for Access 2010). Close Access and open again.

    • @sansaratech
      @sansaratech 9 лет назад

      You can also use late binding, and avoid having to set any reference to a specific version of Word.
      Dim appword As Object
      Dim doc As Object
      Set appword = CreateObject("Word.Application")
      Set doc = objWord.Documents.Add(GetPath & "\ClientLetter.dotx")
      objWord.Visible = True

  • @arnabmaitra6665
    @arnabmaitra6665 5 лет назад

    Nice but fast demonstration.. thanks

  • @Wilson_the_Mannequin
    @Wilson_the_Mannequin 8 лет назад

    If you need more than 255 characters, see this link: stackoverflow.com/questions/27066825/passing-ms-access-string-255-characters-to-ms-word-field - use this code: .Bookmarks("wdStartForms").Range.Fields(1).Result.Text = startForms instead of .FormFields("wdStartForms").Result = startForms

    • @austin72406
      @austin72406  8 лет назад

      Thank you Sean

    • @crkontz
      @crkontz 8 лет назад

      +Sean O'Brien The .Bookmarks("wdStartForms").Range.Fields(1).Result.Text = startForms format works with word 2010 but after upgrade to 2013 it no longer works... any ideas?? Thanks

    • @Wilson_the_Mannequin
      @Wilson_the_Mannequin 8 лет назад

      +crkontz oh no, I did not know that.....I don't know the answer to that one....we are upgrading to MS Word 2013 in the Fall, so thanks for the heads up....if you find the solution, please post it here...I will do the same....cheers