+ Reply to Thread
Results 1 to 4 of 4

creating a small database

  1. #1
    Registered User
    Join Date
    04-01-2008
    Posts
    54

    Post creating a small database

    Hi Everybody.

    I am a beginner in Excel.

    I need someone to help me out with the below query.

    I have one spreadsheet with following details.(Database Sheet)
    Supplier Name,Category,Sub Category.
    This sheet contains a large amount of details of suppliers.

    In one more spreadsheet (Search Sheet)
    I wanted to create a search tool like if i put the name of supplier and click on the command button, i should get the details of that supplier if found in data.

    Like below is the example.

    If i want to search the Hays IT(supplier) in the database and if i put the name in textbox and click below i should get how many times the supplier name is repeated in Database with category and sub category beside to it, Like

    Supplier Name Category Sub Category
    Hays IT Staffing Recurtiment Agency
    Hays IT Staffing Temp Agency

    If details are not found in Databsae, a pop up should say supplier not found.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    See the DatabaseForm here

    http://www.excel-it.com/vba_examples.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    03-25-2008
    MS-Off Ver
    Excel, Outlook, Word 2007/2003
    Posts
    245
    Something like this ?
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-01-2008
    Posts
    54

    Thank you

    Thank you Charlize

    Still i am facing one problem.

    When i am try to search a supplier name which is not in database it shows me a debugging error.

    Could you please help me out in rectifying that error.

    If a supplier name is not found in database it shold prompt "Supplier not Found"

    I had one more request below could you help me out in that also

    Like below is the example

    British Telecom
    British Telecommunications
    British Petroleum

    When the macro is executed all the items which start with British should get filtered like wise other items also in that column

+ 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