Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    jgelpi16 is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544
    I apologize, that was my fault. Copy/Paste error. What you can do is open up the excel spreadsheet you are referring to in your code. With it open step through your code (F8). You'll notice your rows change names to what you are told the code to change them to. All you are currently doing is setting up what will be your field names for the table in Access. Once you have ran through the code import the Excel Spreadsheet and make sure you tell Access to use the first row as headers. This will be your temporary table that you will import to each time.

  2. #17
    compooper is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jun 2011
    Posts
    87
    Oh wow. Thats really impressive. Thanks a lot.

    Just a few questions:
    -This code changes the headings of my data permanently, which I don't want. Is there a way to just extract the columns into a table in my database?
    - Also, is there a way to recognize entire columns starting from row 2?

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. VBA Code Help
    By jo15765 in forum Programming
    Replies: 3
    Last Post: 12-21-2010, 08:34 PM
  2. Word code in Access - How to modify my current code
    By Alexandre Cote in forum Programming
    Replies: 0
    Last Post: 11-15-2010, 08:26 AM
  3. need Code
    By shenberry in forum Programming
    Replies: 4
    Last Post: 10-28-2010, 07:55 PM
  4. Code in combobox, code in text box
    By float in forum Forms
    Replies: 3
    Last Post: 09-29-2010, 07:12 AM
  5. Access 2003 code vs Access 2007 Code
    By ralphjramirez in forum Access
    Replies: 5
    Last Post: 11-23-2009, 12:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums