+ Reply to Thread
Results 1 to 2 of 2

VBA function to update info based on form input

  1. #1
    Registered User
    Join Date
    05-25-2017
    Location
    Indianapolis, Indiana, USA
    MS-Off Ver
    MS Excel 2016
    Posts
    3

    VBA function to update info based on form input

    Hi there! I am a fairly new VBA coder and have learned everything so far from online resources and YouTube tutorials. Currently working on an Excel VBA form that would allow users to update client information in a database over time without actually going into the raw data. I have a findvalue function that works; however, it is messy and I fear it is slowing my system down as there are 93 data elements that need to be updated any time a client update is made. Any ideas on how I can turn what I have into a cleaner, faster working process?

    Thanks in advance for any insights!
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: VBA function to update info based on form input

    Where's the 'findvalue' function you mention?

    The only 'findvalue' I can find is a variable that's used in some subs to search various columns and that's only ever being used in simple code like this.
    Please Login or Register  to view this content.
    Have you investigated what's actually slowing things down?

    PS You could cut the code in the Update sub down a bit by using a loop but that probably won't have an impact on speed.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

+ 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. How to automatically update info based on blank cell
    By Sly1980 in forum Excel General
    Replies: 4
    Last Post: 02-10-2015, 10:06 AM
  2. Form input to update second sheet - Im lost :(
    By bensley1986 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2014, 06:20 PM
  3. Table Update based on column info.
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-30-2014, 02:08 PM
  4. [SOLVED] Form input to update list
    By x65140 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2014, 03:07 PM
  5. Data Input Form with number of line items based on user input
    By j_gideon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2013, 02:54 PM
  6. Input Box based on Another Cell Info Macro
    By jnwel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-27-2012, 02:19 PM
  7. Looping a data input form based on form option
    By bologne in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 04-17-2011, 03:06 AM

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