+ Reply to Thread
Results 1 to 3 of 3

Userform to retreive data from one table and post data to another

  1. #1
    Registered User
    Join Date
    08-15-2015
    Location
    Coventry, England
    MS-Off Ver
    Office 2013
    Posts
    2

    Userform to retreive data from one table and post data to another

    Good Morning,

    First post on here as I am new to excel VBA and have spent hours trawling the web for help on this to no avail!

    I have a workbook with two separate sheets, one for vehicle purchases and one for vehicle sales.

    The vehicle purchases sheet has a table with my vehicle purchase information and I have managed to build a userform to add new purchases to it.

    I now need a userform on the vehicle sales sheet which allows the user to enter the stock number of the vehicle which has sold and hit a command button to search the purchases table and pass the relevant vehicle information to the userform. The form then has the textboxes for the user to enter the sales details associated with that vehicle (customer name, address etc). Then a final command button to post all of the data into the sales table.

    I don't expect someone to write the entire code for me I just need a simplified version with all of the elements in place so I can expand from there.

    Any help would be greatly appreciated.

    Mark

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,912

    Re: Userform to retreive data from one table and post data to another

    The easiest way to get a to the point answer is to post an example file with some data in it, including the userforms you created.

  3. #3
    Registered User
    Join Date
    08-15-2015
    Location
    Coventry, England
    MS-Off Ver
    Office 2013
    Posts
    2
    Quote Originally Posted by bakerman2 View Post
    The easiest way to get a to the point answer is to post an example file with some data in it, including the userforms you created.
    No problem, I will upload my file as soon as I can. Thanks.

+ 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. [SOLVED] Post userform data to separate worksheets
    By melcoats in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2012, 08:24 PM
  2. Replies: 2
    Last Post: 09-29-2011, 12:34 PM
  3. retreive row data
    By ualtaf in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-26-2010, 01:03 PM
  4. Excel 2007 : Retreive data from web page
    By colins in forum Excel General
    Replies: 0
    Last Post: 02-25-2010, 01:14 PM
  5. Retreive Oracle CLOB Data?
    By Tarball in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-05-2010, 05:40 AM
  6. How do i retreive data from another worksheet to a current one?
    By dphi201 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-15-2006, 03:35 PM
  7. [SOLVED] I want to enter a customer # and retreive their data
    By creo in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-12-2006, 11:25 PM
  8. [SOLVED] is there anyway to retreive data if deleted in ms excel
    By Jimmy Baig in forum Excel General
    Replies: 3
    Last Post: 10-19-2005, 05:05 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