+ Reply to Thread
Results 1 to 4 of 4

Manipulating A Flat File for Import in MS Access

  1. #1
    Registered User
    Join Date
    09-26-2003
    Posts
    17

    Arrow Manipulating A Flat File for Import in MS Access

    Hi,

    I have a 'flat'file' in excel that I have been trying to format in order to import in MS Access.

    Attached is an example of what I have ...... and what I am trying to achieve.

    NOTE : In the real life example there are 1200 rows and 77 columns ....... the attached is a simple example in order to illustrate my point.

    I have tried to write code to perform this all day and am now off to bed !

    Can anyone here come up with a simpe VBA routine to achieve the attached (which I will then be able to adapt to my real life example).

    Many thanks.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    10-08-2006
    Location
    Walnut, CA
    MS-Off Ver
    2003,2010, Office 365
    Posts
    114
    Hi,
    Try this.
    Let me know if you have any questions.
    Tony
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-26-2003
    Posts
    17
    Thanks.

    your example works perfectly, however I cannoty adapt it to my real example !!!! How do i change the ranges in your code ?

    My data has;

    COLUMN HEADING RANGE A1:E1
    NO. OF ROWS OF DATA 1,231
    FIELD HEADING RANGE F1:CD1

    Thanks.

  4. #4
    Registered User
    Join Date
    09-26-2003
    Posts
    17
    Got it ...... I was looking for ranges in the code .... realise nowe that you had named ranges on the sheet .... doh !

    Thanks ALOT for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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