+ Reply to Thread
Results 1 to 2 of 2

Import Text File to Access Table using Excel VBA

  1. #1
    Registered User
    Join Date
    07-28-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    1

    Import Text File to Access Table using Excel VBA

    Hi

    I have an new access database, where I have to import some text files using excel VBA. Is it possible. I need the exact query to automate this process.

    So what I basically need to do is, use an excel macro, which import the text file to a table into the access db. But i don't want to run any query on acess database.If this is only possible through access vba, i don't have any idea to remove the module automatically, every-time i have to remove the module manually. Is there any any way to drop the module using the code. I don't want my module to be available in my database.

    I am completely new to Access database and have no idea where to begin. I have basic knowledge of Excel VBA.

    Any help will be greatly appreciated!!

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Import Text File to Access Table using Excel VBA

    Hi and welcome to the forum,

    Access will allow you to simply link to the Excel data and treat it just like a table in Access. You can also import the Excel data into an Access table. I don't see why you would need VBA to do any of what you are asking for.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Use an Excel Macro in Access VBA - Import text file in Access Table
    By joogibabu in forum Access Tables & Databases
    Replies: 3
    Last Post: 10-08-2014, 10:04 AM
  2. Text File Convesion to Access Import
    By JerryCapo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-02-2014, 10:07 AM
  3. Import Text File to Access Table using Excel VBA
    By curiosity1990 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-07-2013, 09:43 AM
  4. Import Excel table referenced in a link stored in an Access table
    By Dionysos in forum Access Tables & Databases
    Replies: 0
    Last Post: 01-16-2013, 08:09 PM
  5. Copy Excel to Text file and pass Text file to Access Table
    By robbie_xcell in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2011, 01:53 PM
  6. import data from access table to excel pivot table - Enable Auto Refresh
    By okl in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-01-2010, 09:38 AM
  7. Import MS Access table in Excel
    By vijay2482 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2009, 09:38 AM

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