+ Reply to Thread
Results 1 to 2 of 2

Userform search, amend and delete functions across multiple sheets

  1. #1
    Registered User
    Join Date
    05-31-2011
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    8

    Userform search, amend and delete functions across multiple sheets

    Hi there,

    I am trying to adapt the DatabaseForm created by Roy Cox to match the requirements
    of a database we are currently working on. The main difference between the original
    DatabaseForm and the one i'm looking to create is the added ability to add, search,
    amend and delete entries across multiple sheets within the same workbook. I would also
    like to increase the functionality of the search function by giving the user the option
    to add critieria to the search. I have attched the workbook.

    I have so far successfully managed to implement the 'add' function across the
    multiple sheets in the workbook. I am unsure what to do to the code to make the
    'Search', 'Amend' and 'Delete' functions work across the multiple worksheets. The next
    step I think is for me to describe what I'm hoping to achieve:

    In the attached workbook, you'll see that I have three boxes (1 Textbox & 2 combo
    boxes) above the listbox and the command buttons. I would like these three to be the
    options available when a user is looking to search. Ideally, I would like the user to
    have the ability to choose whether to use all three options or not. If they know the name of
    the business, they could just put that in and hit search or they could just choose a status
    and the search would return all entries that match the status from all the worksheets
    and show these results in the listbox. Regardless of what the user chooses in the top
    three boxes when doing a search, I would like the listbox to display information pertaining
    to all three choices in the display.

    When the user has performed the search and the results have shown up in the listbox, I
    would like the user to be able to choose one of the entries in the listbox, this would
    then automatically fill out all the relevant used fields in the userform with the information
    from the entry. The user can then make changes and hit 'amend' or hit 'delete' to delete
    the entry.

    Any help with this will be greatly appreciated!

    John
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-31-2011
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    8

    Unhappy Re: Userform search, amend and delete functions across multiple sheets

    any hints or tips here would be greatly appreciated...

    here's the code:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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