+ Reply to Thread
Results 1 to 2 of 2

VBA Validate for duplicates

  1. #1
    Registered User
    Join Date
    07-19-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 2007
    Posts
    89

    VBA Validate for duplicates

    HI,

    Im running a basic appointment calendar in excel that feeds to access (purely because users don't have MSAccess), and feeding t this way due to problems we encounter having a shared document that multiple users update.


    its a simple DATE and TIME check Is it possible that upon clicking "check buton" that it will check if datebox1 (date) AND timebox1 (time) - Match In the access database before adding the entry?
    Or am I best having a formula that combines both the date and the time and having this as the primary key that way preventing duplicates?

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: VBA Validate for duplicates

    Sounds like you would want to query Access data? You could use a Sheet's QueryTable or one of various ADO methods. To get started with the latter, search for posts here or find other links like: http://www.rondebruin.nl/win/s3/win025.htm

+ 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. Macro to find duplicates, concatenate cells, then delete old duplicates
    By givemepuppies in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 03-04-2016, 02:43 AM
  2. Replies: 1
    Last Post: 07-30-2014, 02:37 PM
  3. Replies: 2
    Last Post: 12-27-2013, 09:24 AM
  4. [SOLVED] Macro to find duplicates, concatenate Unique Values, then delete old duplicates
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2013, 04:32 PM
  5. Replies: 17
    Last Post: 07-05-2011, 05:37 PM
  6. Replies: 3
    Last Post: 03-09-2011, 07:00 PM
  7. Validate two fields when one field you need a formula to validate
    By cmwilbur in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-29-2010, 11:32 AM

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