+ Reply to Thread
Results 1 to 4 of 4

Search & Edit in Excel Database possible?

  1. #1
    Forum Contributor
    Join Date
    02-19-2004
    Location
    San Francisco Bay Area
    MS-Off Ver
    Microsoft 365 Aps for enterprise.
    Posts
    241

    Search & Edit in Excel Database possible?

    Hi,
    I am wondering if I can serach for a particular entry in Excel database and edit it in a separate window. Is this possible through VB code?
    Please advise.
    Thak you
    Syed

  2. #2
    Kevin B
    Guest

    RE: Search & Edit in Excel Database possible?

    Have you tried DATA/FORM from the menu. It's a built-in data entry from with
    search capability.

    --
    Kevin Backmann


    "saziz" wrote:

    >
    > Hi,
    > I am wondering if I can serach for a particular entry in Excel database
    > and edit it in a separate window. Is this possible through VB code?
    > Please advise.
    > Thak you
    > Syed
    >
    >
    > --
    > saziz
    > ------------------------------------------------------------------------
    > saziz's Profile: http://www.excelforum.com/member.php...fo&userid=6350
    > View this thread: http://www.excelforum.com/showthread...hreadid=507869
    >
    >


  3. #3
    Forum Contributor
    Join Date
    02-19-2004
    Location
    San Francisco Bay Area
    MS-Off Ver
    Microsoft 365 Aps for enterprise.
    Posts
    241
    Hi Kevin,
    Thank you for helping me out. I checked Data Form option. It seems it does but now I need to know how I can put into the code the search criteria value taken from a user. I hope I am clear in explaining this. I need opertaor to input a value for Data Form -> Criteria -> atleast one value from the data base which I am expecting it to come from user.
    Please let me know if you can.
    Thank you
    Syed

  4. #4
    Kevin B
    Guest

    Re: Search & Edit in Excel Database possible?

    I don't know of a method that you can utilize with the built-in data form,
    but a variant of the code below might work. The INPUTBOX function displays a
    dialog box with the prompt you've entered and the user can fill it out.

    After they click OK, it runs the line of code that performs a search for the
    value that they've entered.

    Sub FindMeIfYouCan()

    Dim strFindWhat As String

    strFindWhat = InputBox("What are you looking for?")

    Cells.Find(What:=strFindWhat).Activate


    End Sub

    --
    Kevin Backmann


    "saziz" wrote:

    >
    > Hi Kevin,
    > Thank you for helping me out. I checked Data Form option. It seems it
    > does but now I need to know how I can put into the code the search
    > criteria value taken from a user. I hope I am clear in explaining
    > this. I need opertaor to input a value for Data Form -> Criteria ->
    > atleast one value from the data base which I am expecting it to come
    > from user.
    > Please let me know if you can.
    > Thank you
    > Syed
    >
    >
    > --
    > saziz
    > ------------------------------------------------------------------------
    > saziz's Profile: http://www.excelforum.com/member.php...fo&userid=6350
    > View this thread: http://www.excelforum.com/showthread...hreadid=507869
    >
    >


+ 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