+ Reply to Thread
Results 1 to 5 of 5

Search & Edit Macro / Function

  1. #1
    Registered User
    Join Date
    12-29-2010
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    43

    Search & Edit Macro / Function

    Hi all,

    I'm attempting to create a spreadsheet that has an interactive / database feel to it. What I mean, is that I'd like to be able to quickly search a worksheet full of Facilities related data (room number, occupant names, square footage, etc.) and have the results displayed. So if I searched a particular "Department", my search results would show all room numbers with that Department. Then, I'd like to either jump to that section of the data, or be able to edit the data within the search results. I know the CTRL+F will essentially do this - but I'd like to provide a more user-friendly way of doing this from one designated cell on a summary tab or something like that.

    My client is a facilities director and he is trying to find a better/more efficient way to track and maintain changes to hundreds of rooms, what department uses them, etc.

    Any quick Macro's known to the experts that could be of assistance?

    Thanks!!!!
    Mike

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Search & Edit Macro / Function

    Hi Mike,

    A sample of the workbook is really needed for this question. My first thought is to use an Autofilter and teach the director how it works. That way s/he could filter or sort on any of the table fields to examine data.
    http://www.contextures.com/xlautofilter01.html
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    12-29-2010
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Search & Edit Macro / Function

    I've attached an example file. Just to reiterate - I'd like to designate one cell to serve as a search. I'd like for the result to either jump me to the row where the data exists - or pull the data to an area near the search cell box. The most important functionality here is being able to Edit the data being searched. Therefore, maybe it makes the most sense to structure this so upon the search it jumps to the row where the data meets the search criteria.

    Hopefully I'm not confusing the audience here...
    Attached Files Attached Files

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Search & Edit Macro / Function

    Hi Mike,

    Find the attached with some Event Code behind sheet 1. If you change the stuff in Cell A1 and press enter it will run down and find the next occurance of what you type. Is this what you wanted?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-29-2010
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Search & Edit Macro / Function

    Thank you. This is essentially what I was after! I may try and place that search cell on a different worksheet. Is that possible?

+ 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