Results 1 to 3 of 3

Using Column with Blanks for Primary Key (Access & Excel)

Threaded View

  1. #1
    Registered User
    Join Date
    12-13-2019
    Location
    Michigan, United States
    MS-Off Ver
    365
    Posts
    9

    Using Column with Blanks for Primary Key (Access & Excel)

    Long story shorter, I have an Excel sheet that I'm trying to incorporate into Access. The issue is, that my current Excels sheet contains blanks in the A column. That same A column would also be the primary key for the Access Table import, which it doesn't like/work. So, what's the best way of going about this? I thought of making a second Excel sheet, which references the first, except the referenced A column contains a formula which refers to the original sheet. I cannot remove blanks either in VBA or some other method because of these formulas.

    A good note is this Excel sheet is constantly updated, so I have code in VBA to systematically update the Table in Access with the new information from the Excel sheet, it's just Im not sure how to solve this trivial question without tampering/ruining the original excel sheet.
    Last edited by AliGW; 12-20-2019 at 05:04 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Strange Excel VBA -> Access behaviour
    By ExcelDominator in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2013, 04:40 PM
  2. strange access import error
    By jedat in forum Excel General
    Replies: 0
    Last Post: 04-04-2011, 08:07 AM
  3. Access to Excel Question
    By glickz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-28-2009, 11:54 AM
  4. Strange excel question
    By mckay in forum Excel General
    Replies: 2
    Last Post: 12-09-2005, 04:15 PM
  5. Replies: 4
    Last Post: 09-13-2005, 09:05 PM
  6. [SOLVED] Excel vs Access what art the question?
    By PhilMontUSDA in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-23-2005, 05:05 PM
  7. Replies: 2
    Last Post: 01-14-2005, 03:06 PM
  8. [SOLVED] strange excel question
    By Christo in forum Excel General
    Replies: 3
    Last Post: 01-07-2005, 10:06 PM

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