+ Reply to Thread
Results 1 to 3 of 3

updating a database from different sheet..

  1. #1
    Registered User
    Join Date
    05-20-2011
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    21

    updating a database from different sheet..

    Good Day everyone!

    I hope someone can help me here. What I want to do is to update a database on a hidden sheet from a different sheet. Basically the program should run like this... (I attached the file) If i put the scientific name on the c2 cell, c3-c7 cells will be populated with data from the database (supposed to be hidden database). And if some entries are missing, i can fill it up in "updating" sheet and click a button and it will be copied/updated automatically to the "database" sheet. Is it possible? Thanks everyone, hope someone could help me... I've stuck here for a long time
    Attached Files Attached Files
    Last edited by freesa; 03-13-2012 at 07:24 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: updating a database from different sheet..

    1) Press CTRL-F3 and create this named range:

    Names In Workbook: ScientificNames
    Refers To: =OFFSET(DataBase!$A$2,,,COUNTA(DataBase!$A:$A)-1,)

    2) Select Updating cell C2 and apply these Data Validation settings:

    Allow: List
    Source: =ScientificNames

    3) Right-click the Updating sheet tab and select VIEW CODE, then paste in this event macro:
    Please Login or Register  to view this content.

    4) Close the VBEditor
    5) Hide the Database sheet
    6) Save your workbook as Data.xlsm (macro-enabled workbook)


    Now try out the Updating sheet starting with the new Drop Down in C2.
    Attached Files Attached Files
    Last edited by JBeaucaire; 03-13-2012 at 09:38 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-20-2011
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: updating a database from different sheet..

    Thanks a lot! Saved me great deal of time. It worked exactly the way I want it to. Thank you very much!

+ 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