+ Reply to Thread
Results 1 to 3 of 3

Lookup then Replace data?

  1. #1
    Registered User
    Join Date
    01-21-2014
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2011
    Posts
    13

    Lookup then Replace data?

    I'll try to explain this the best I can.

    I want to produce an interface to track personal items, I'd like to scan a barcode and see all the info pop up (easy enough). However I'd then like to be able to adjust the data.

    Example, let's say I scan my tent and all the info pops up via Hlookup or Vlookup. I can see date purchased, price, brand, etc. but I also see a cell for last date used. I'd like to be able to click that cell and change that information without digging into the data table to change it. With the lookup functions that cell is only mirroring the data from the table. Is there a command/function or even a pre written macro for this?

    Thanks!

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,632

    Re: Lookup then Replace data?

    In the situation described probably the most natural way is to display all the info not in the sheet but rather in the userform.
    Of course one can use equivalent to worksheet functions (their names are the same, like: worksheetfunction.vlookup is exactly VLOOKUP etc.) to populate the userform.
    The form shall have 2 buttoms "Close" and "Update".
    And that's it.
    Shall be realy easy code.

  3. #3
    Registered User
    Join Date
    01-21-2014
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2011
    Posts
    13

    Re: Lookup then Replace data?

    Quote Originally Posted by Kaper View Post
    In the situation described probably the most natural way is to display all the info not in the sheet but rather in the userform.
    Of course one can use equivalent to worksheet functions (their names are the same, like: worksheetfunction.vlookup is exactly VLOOKUP etc.) to populate the userform.
    The form shall have 2 buttoms "Close" and "Update".
    And that's it.
    Shall be realy easy code.
    I have only ever made one userform in my life and it was a copy and paste deal, so the code beyond the interface is greek to me. I am trying to learn it but I don't know where to start, is there perhaps another way or could someone generate the code and explain how to implement it into excel/userform?

+ 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] Macro to lookup data text and replace it with abbreviation.
    By james1432 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-20-2013, 05:56 AM
  2. Replies: 3
    Last Post: 07-24-2012, 12:54 AM
  3. Replace data in excel row using a lookup and macro
    By Jay2512 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-12-2010, 11:21 AM
  4. [SOLVED] find and replace - replace data in rows to separated by commas
    By msdker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2006, 08:10 PM
  5. lookup and replace data
    By Xcellular in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-18-2005, 12:06 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