Results 1 to 4 of 4
  1. #1
    Saeed is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2022
    Posts
    2

    write an access code to extract data

    using Access 0365
    How would i be able to write a program to be able to do a query on a table and write that up into an excel sheet.

    I cant install anything on the machine .


    Would I be able to use VBS to do this ?

    Thanks

  2. #2
    xps35's Avatar
    xps35 is online now Competent Performer
    Windows 10 Office 365
    Join Date
    Jun 2022
    Location
    Schiedam, NL
    Posts
    299
    This can be done with just one line of code using DoCmd.TransferSpreadsheet.

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,555
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #4
    Saeed is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2022
    Posts
    2
    Quote Originally Posted by Welshgasman View Post
    Thanks I ll give that a try.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 13
    Last Post: 12-22-2018, 12:51 PM
  2. Replies: 40
    Last Post: 09-03-2018, 10:44 AM
  3. Replies: 3
    Last Post: 02-17-2018, 02:28 PM
  4. extract data from Access
    By sameerkadoo in forum Access
    Replies: 3
    Last Post: 06-06-2012, 12:15 PM
  5. Extract Specific Data from Access
    By iamstupid in forum Access
    Replies: 1
    Last Post: 05-26-2011, 12:58 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums