Automated Export of Data from Microsoft Access to Excel with Just One Click

Поділитися
Вставка
  • Опубліковано 8 лют 2025
  • In this Microsoft Access tutorial, I'm going to teach you how to automate the export of data from Access to Excel with a little VBA and just one click. We're going to discuss the TransferSpreadsheet and OutputTo commands.
    BECOME A MEMBER:
    UA-cam: / @599cd
    or My Site: 599cd.com/THMe...
    LEARN MORE:
    Automated Export: 599cd.com/Auto...
    PREREQUISITES:
    Export to Excel: 599cd.com/Expo...
    Intro to VBA: 599cd.com/Intr...
    LINKS:
    Error Handling: 599cd.com/Erro...
    Export to Word: 599cd.com/Expo...
    Export Reports to PDF: 599cd.com/Expo...
    RECOMMENDED COURSES:
    Access Developer Courses: 599cd.com/Deve...
    CODE:
    DoCmd.OutputTo acOutputForm, "FormNameF", acFormatXLSX, "C:\Folder\File.xlsx", True
    FREE TEMPLATE DOWNLOADS:
    TechHelp Free Templates: 599cd.com/THFree
    Blank Template: 599cd.com/Blank
    Contact Management: 599cd.com/Cont...
    Order Entry & Invoicing: 599cd.com/Invo...
    More Access Templates: 599cd.com/Acce...
    ADDITIONAL RESOURCES:
    FREE Access Beginner Level 1: 599cd.com/Free1
    How to Use Access in 30 Minutes: 599cd.com/30Mi...
    $1 Access Level 2: 599cd.com/1Dollar
    Donate to my Tip Jar: 599cd.com/TipJar
    Get on my Mailing List: 599cd.com/YTML
    Contact Me: 599cd.com/Contact
    TechHelp: 599cd.com/Tech...
    Consulting Help: 599cd.com/DevNet
    Twitter: / learningaccess
    en.wikipedia.o...
    products.offic...
    microsoft.com/...
    KEYWORDS:
    access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, automated export from Access to excel, automate exporting to excel, TransferSpreadsheet, docmd.OutputTo, acExport, acSpreadsheetTypeExcel12Xml, corrupt XLSX file, acOutputForm, acFormatXLSX
    QUESTIONS:
    Please feel free to post your questions or comments below. Thanks.

КОМЕНТАРІ • 26

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

    Richard, Excellent tutorials. I have found many of them helpful.

  • @Shadow.Dragon
    @Shadow.Dragon Рік тому

    Thanks for the video Richard! Looking forward to the "sister" video on Monday! Have a great weekend!

  • @bouramacoulibaly1981
    @bouramacoulibaly1981 11 місяців тому +1

    Thank you very myuch for this excellent video. It is such interesting. But I have a question, I want to export a table from access into excel but with some protection setup, to make the file in read mode only and allow filtering and sorting. I will really like your feedback!

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

    Thanks Richard. We expect we could export reports to xslx soon.

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

    NC sir. Thank you ❤

  • @brianmormann1759
    @brianmormann1759 17 днів тому

    Is there a way to do OutputTo and have 2 queries go to the same workbook? I like the formatting of OutputTo, but TransferSpreadsheet lets you do 2 queries to the same workbook if the file path/name is the same, instead of the second overwriting the first

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

    superb

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

    Hello Mr Richard Rost, I hope you be fine
    I'm thankfull of your great tutorials,
    I faced to a problem, my access database project hide or remove all forms, quires, reports after somedays automaticaly , just all the tables are remane with all records in !!
    how can i solve this problem?
    thank you

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

    I like it :)

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

    Thank you.. just starting to dive into the tutorial. I have one field that is set to 5 decimal places in access when exported to excel it shortens it to 2 decimal places. The data is stored correctly so I can change the format but why does it not just leave it at 5 decimal places.

    • @599CD
      @599CD  Рік тому

      599cd.com/ask

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

    Hi
    Just a few questions if you don’t mind answering in regards to Microsoft Access. I was wondering could if its is possible to make;
    • Microsoft Access as a document manger, viewing word, excel, PowerPoint and PDF files, on a business SharePoint site while having the tables situated in data verse as a backend source.
    • While doing the above and having mail merge templates within the said directory one SharePoint?
    • Having a Treeview, showing the directories, and files of the above in a listbox in which you can click and open to either edit, read, make a new one (e.g. word, excel spreadsheet or PowerPoint slide) and incorporate mail merge tags.

    • @599CD
      @599CD  Рік тому

      I'm sure most of that is possible

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

    Sir how to one column lock for edit in export

  • @nilanthawarnakulasuriya4973

    nice video thanks

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

    I export Data using the transporter, and I can bring him back too.😊

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

    👍👍

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

    This worked but it didn't filter -- exported all the records not just the filtered. How do you fix that?

    • @599CD
      @599CD  Рік тому

      599cd.com/Ask

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

    👏👏👏👏👏👏

  • @aminam3849
    @aminam3849 11 місяців тому

    Like it

    • @599CD
      @599CD  11 місяців тому

      Sweet