+ Reply to Thread
Results 1 to 2 of 2

Finiding max value in Access table and populate in Excel userform textbox

  1. #1
    Registered User
    Join Date
    08-09-2011
    Location
    Nottingham
    MS-Off Ver
    Excel 2003
    Posts
    51

    Finiding max value in Access table and populate in Excel userform textbox

    Hi guys

    I have an Access database and in that there is a table named tblmain. Now I have a new project which is bulit in excel as a frontend and Access as a backend. Inthis when a userform is loaded then the textbox should be automatically set to maximum value in Ref field of the tblmain. Below is the code in Access that will find max value in its table tblmain and then input the max value in the texbox. But I want to write code in Excel that will check max value in other Access database.The Ref always starts with Alphabet ans then 5 digits e.g A12345, C12345,F88112 etc.
    Please Login or Register  to view this content.
    Hope anyone can figure it out.

    Thanks

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Finiding max value in Access table and populate in Excel userform textbox

    Morning Lisa,

    Is this going to be a one off query or are you going to be requesting data frequently from the database?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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