+ Reply to Thread
Results 1 to 3 of 3

Consulting a table and changing the content and place the new content back in the table

  1. #1
    Registered User
    Join Date
    12-23-2018
    Location
    Brussels
    MS-Off Ver
    2010
    Posts
    2

    Consulting a table and changing the content and place the new content back in the table

    Hi, I want to use a macro to do the following. I have a table with data (info about different, a lot of persons...). The first column is a unique number (called 'number') referring to the person. Now I want to use a macro to consult the table by using the 'number'. On a second page I fill in the 'number' and I want that a macro consults the table and gives al the information of the corresponding person on the second page. On this second page I want to do some changes on the information of the person and then I want to put back the corrected information in the table.
    What I don't know is how to find the correct row with the information of the person with a certain 'number', both for consulting and re-writing the changed values. I could do it with (advanced search, but I find this not a clean solution) I tried also with 'advanced filter' but this also did not work properly. (relative reference...)
    Anybody experience with this.
    Thanks a lot.
    I'm an amateur in recording macro's and no experience with VBA and forms.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Consulting a table and changing the content and place the new content back in the tabl

    Hi and welcome to the forum.

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    12-23-2018
    Location
    Brussels
    MS-Off Ver
    2010
    Posts
    2

    Re: Consulting a table and changing the content and place the new content back in the tabl

    Hi Richard,
    Thanks for the reaction.
    I put a simple example attached.
    What I don't know to create is how to search an existing article and put it in the input-page, change where necessary and put back in the file 'orders'
    I put a macro to create an new unique article-number and also a macro to put the input in the orders.
    Now I want to search on article-number all the info of the article and put it in the standard-file 'input', change eventually the info and put back in the file.
    I hope I can do this with the 'recording macro'- option because I have no experience with VBA-code or forms.
    Thanks a lot for helping me.
    Attached Files Attached Files

+ 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] RangetoHTML to paste cell content instead of table with content
    By moe15243 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2018, 07:13 PM
  2. Replies: 3
    Last Post: 08-02-2017, 06:54 PM
  3. Creating table based on another table content
    By apofys in forum Non English Excel
    Replies: 1
    Last Post: 08-02-2017, 12:00 PM
  4. [SOLVED] RangetoHTML to paste cell content instead of table with content
    By moe15243 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2017, 11:08 AM
  5. Table of Content
    By maxi0009in in forum Excel General
    Replies: 1
    Last Post: 06-29-2015, 10:36 AM
  6. table of content
    By alexaskmo in forum Excel General
    Replies: 1
    Last Post: 11-13-2014, 09:22 AM
  7. Auto update cells in a table, based on the content of another table...
    By Darth269 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-29-2012, 04:19 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