+ Reply to Thread
Results 1 to 5 of 5

Macro to Upload into Access

  1. #1
    Registered User
    Join Date
    01-16-2020
    Location
    new york
    MS-Off Ver
    2019
    Posts
    3

    Macro to Upload into Access

    Hello,

    Is there a Macro that will help me take a folder of Excel Spreadsheets and create an Access Database?

    Thank You

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: Macro to Upload into Access

    Many questions!!
    1. Are all worksheets laid out in the exact same format?
    2. Which sheet in each workbook to be uploaded? Multiple sheets or only one?
    3. All input to the same table in Access?
    4. Path of Directory containing Workbooks?
    5. Path and name of Data Base?
    6. One time upload or will this require additional uploads?
    7. Provide one sample workbook to this site to ensure that the data is presented in a normalized manner. See Yellow Banner "How to attach your sample workbook."
    8. Read the attached white paper on RDBMS and data normalization.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    01-16-2020
    Location
    new york
    MS-Off Ver
    2019
    Posts
    3

    Re: Macro to Upload into Access

    1) Yes all worksheets are in the same exact format.
    2) 1st sheet.
    3) Yes, same table
    4) Same path (all the files will be in the same folder).
    Last edited by KnightYuno; 01-17-2020 at 09:22 AM.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: Macro to Upload into Access

    You have not provided a sample workbook of data to be imported.
    You have not provided the path of where the data files to be imported are located.
    You have not provided the path to your DB file.

    This is all important info to design a specific VBA code that is specific to your needs. There is no such thing as generic code for your situation.

  5. #5
    Registered User
    Join Date
    01-16-2020
    Location
    new york
    MS-Off Ver
    2019
    Posts
    3

    Re: Macro to Upload into Access

    I have added a sample workbook. The Access file is in the same directory as the excel spreadsheet.

    Say it's in C:\users\abc\documents\access

    Isn't the database file the access file?
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Access Store Data, Upload later
    By Kramxel in forum Access Tables & Databases
    Replies: 2
    Last Post: 12-19-2018, 05:04 AM
  2. Upload file from ms access into sharepoint
    By waka in forum Access Tables & Databases
    Replies: 1
    Last Post: 06-18-2015, 04:29 AM
  3. Upload file from mS access into sharepoint
    By waka in forum Access Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2015, 04:24 AM
  4. Is it possible to run a macro to upload Access DB to a shared drive?
    By JasonPsychoSO242 in forum Access Tables & Databases
    Replies: 4
    Last Post: 12-28-2012, 02:58 PM
  5. Access form image upload
    By andypm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-30-2012, 11:40 AM
  6. [SOLVED] Excel upload to Access (VBA help)
    By Justin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-29-2005, 12:10 PM
  7. [SOLVED] Upload Excel to Access
    By Luis in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-07-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1