+ Reply to Thread
Results 1 to 5 of 5

When importing Multiple excels, How to Delete first row and Replace that row with Autonumb

  1. #1
    Registered User
    Join Date
    09-07-2011
    Location
    vizag
    MS-Off Ver
    Excel 2007
    Posts
    46

    Post When importing Multiple excels, How to Delete first row and Replace that row with Autonumb

    Hi All,

    I have come across a new scenario,When importing Multiple excel data, How to Delete the first Column and that Column Replace with Auto Number which is primary key in my table. I need with Visual basic coding. Please help me as soon as possible. Thank you for your support
    Last edited by bsaimsc; 09-30-2012 at 04:44 AM.

  2. #2
    Registered User
    Join Date
    09-07-2011
    Location
    vizag
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: When importing Multiple excels, How to Delete first row and Replace that row with Auto

    Need support please..................................

  3. #3
    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,893

    Re: When importing Multiple excels, How to Delete first row and Replace that row with Auto

    Are you referring to rows or columns. I don't understand your issue. I suspect that you have not received a response because your explanation is not clear. Please try again with examples of what you are attempting. Perhaps even some dummy worksheets of what your data looks like and how you would like it to look would be helpful. Pictures are so much easier to understand.
    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

  4. #4
    Registered User
    Join Date
    09-07-2011
    Location
    vizag
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: When importing Multiple excels, How to Delete first row and Replace that row with Auto

    I apologized , it's Columns only

  5. #5
    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,893

    Re: When importing Multiple excels, How to Delete first row and Replace that row with Auto

    Use the transferspreadsheet function. Make sure that you have named a range in Excel that excludes the first column. Access will add a new primary key automatically when it imports the file.

    Look here for further information

    http://msdn.microsoft.com/en-us/libr...ffice.10).aspx

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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