+ Reply to Thread
Results 1 to 1 of 1

How can I set Excel Cell Values as the criteria for Access Query?

  1. #1
    Registered User
    Join Date
    09-06-2017
    Location
    portland, oregon
    MS-Off Ver
    2016
    Posts
    33

    How can I set Excel Cell Values as the criteria for Access Query?

    I am creating a new query in MS Access that updates an existing record based on the "Branch" and "Employee" fields. How can I set the criteria to reference cell values? Say, $A$2 holds the "Branch" ID for Access and $B$2 holds the value for the "Employee" ID in Access.I want to update my Access "Notes" Field. My query works when running in Excel, but only because I have specified what the "Employee" & "Branch" ID's are. Unfortunately I cannot post my Query on this site
    Nothing updates when i run my code below:

    Please Login or Register  to view this content.
    Last edited by jdcortez; 04-02-2019 at 01:46 AM.

+ 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. Copying Values from Excel into Criteria line in Query
    By tylerf in forum Access Tables & Databases
    Replies: 1
    Last Post: 03-19-2013, 05:07 PM
  2. [SOLVED] Access ADO - SQL query (3 cell values)
    By Dan17602 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-29-2012, 02:04 PM
  3. Changing access query criteria from Excel
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2011, 01:40 AM
  4. Passing values between excel and access, query modification.
    By Bmoe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-27-2010, 08:36 AM
  5. Replies: 0
    Last Post: 05-20-2009, 10:40 PM
  6. Query work in access 2003 BUT not when using VBA in Excel Cell
    By r_palate in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-01-2008, 07:39 PM
  7. Specifying criteria in Excel for Access Query
    By Troubled User in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2006, 01:50 PM

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