+ Reply to Thread
Results 1 to 4 of 4

text file upload in Access tables using VBA

  1. #1
    Forum Contributor
    Join Date
    07-30-2012
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    118

    text file upload in Access tables using VBA

    Hi friends

    I have a scenario in which I am asked to upload the text file to be uploaded into an access table.

    The only problem is when I split the file it doesn't get viewed into the table

    The text file format is as follows:

    I have splitted the file into number of characters below and trying to upload it into the table with text format


    36120047886685555 02 78232253 715522

    Please help me with the vba code to view the above string in the table.


    Thanks in advance.

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

    Re: text file upload in Access tables using VBA

    I have splitted the file into number of characters below
    I am not sure what this means. Do you only have the four fields and they look like numbers but you want them as text and they have the layout as shown?

    the file it doesn't get viewed into the table
    What does this mean. What do you see in the table?

    Perhaps some more details. Are you able to upload a sample of your text file you wish to have imported to your Access file for testing.
    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
    Forum Contributor
    Join Date
    07-30-2012
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    118

    Re: text file upload in Access tables using VBA

    Hi Alan

    I cannot see anything in the table, it is blank. yes i want the numbers as text. can you please help.

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

    Re: text file upload in Access tables using VBA

    Upload your text file for testing. Difficult to diagnose a patient in absentia.

+ 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. [SOLVED] Upload data from excel file to access table using vba
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-23-2012, 08:31 AM
  2. Access form image upload
    By andypm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-30-2012, 11:40 AM
  3. 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
  4. [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
  5. [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