+ Reply to Thread
Results 1 to 2 of 2

Search and extract code with popup box

  1. #1
    Registered User
    Join Date
    09-04-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    15

    Search and extract code with popup box

    I have a command button in Worksheet ("Timber Quote") and I need it to do the following.

    1) Popup a search box. In this box I will type a numeric search string and the search range for the string is worksheet ("Quote Storage") ("B2:Q5000"). If it matters, the search string is in column I.
    2) There are several rows to be found that contain the search string. I would like all of them found and copied and special paste values in order of appearance to worksheet ("Timber Quote") starting in cell K25.
    3) Next, I would like the rows deleted from where they originated.

    Notes: On the input box for the search, I would like it to read "Quote #' and I would like a message box that reads "Could Not Find + the search string number" if the search criteria is not present.

    Thanks you very much in advance..

    Just learning and I bow down those of you who are here helping.
    Last edited by Kevin Stewart; 11-26-2013 at 05:44 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,485

    Re: Search and extract code with popup box

    Forgive me, Kevin, for being blunt ... but you are asking a lot and giving little. No workbook, no code, not even a picture to paint a ... well, picture (even though, generally speaking, they are pretty useless).

    You've said you are "Just learning" but you're not going to learn much if you don't try.

    Point 1. is just an InputBox
    Point 2. (a) is an AutoFilter using the value input at Point 1 to highlight the rows of interest
    Point 2. (b) is Copy and PasteSpecial values of the cells highlighted above
    Point 3. is just to delete the rows previously highlighted.

    Give it a go. Ask questions when you hit a wall.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 11-13-2013, 10:28 AM
  2. Replies: 2
    Last Post: 03-09-2013, 04:30 AM
  3. Adding Text to another cell VB code (Help Tweeking code) (Excel 2007)
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-06-2012, 11:37 AM
  4. Code for email alerts from excel isn't working, wrong code possibly?
    By jessthorogood in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 01:45 AM
  5. Replies: 2
    Last Post: 03-17-2011, 08:55 PM

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