+ Reply to Thread
Results 1 to 8 of 8

Replace Vlookup with VBA, separate text by ">" and sort

  1. #1
    Registered User
    Join Date
    02-07-2016
    Location
    Canada
    MS-Off Ver
    13
    Posts
    65

    Exclamation Replace Vlookup with VBA, separate text by ">" and sort

    Hi experts,
    I really need your help.

    I have an excel file with 2 sheets (attached).
    I need VBA to bring corresponding to values from sheet "Paste_from_DB" to sheet "Working". It is basically vlookup somehow replaced with VBA with condition to bring few parts of the text instead of text as a whole.
    After that I need to select row 3 and sort all data based on J3 cell from A to Z. Is it possible?
    It's more clear in excel than my explanation...
    Thanks a lot!
    Last edited by R12345; 06-22-2016 at 02:26 PM.

  2. #2
    Registered User
    Join Date
    02-07-2016
    Location
    Canada
    MS-Off Ver
    13
    Posts
    65

    Re: Replace Vlookup with VBA, separate text by ">" and sort

    This is simple explanation on image:
    Attached Images Attached Images

  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Replace Vlookup with VBA, separate text by ">" and sort

    See next code

    Please Login or Register  to view this content.
    - Battle without fear gives no glory - Just try

  4. #4
    Registered User
    Join Date
    02-07-2016
    Location
    Canada
    MS-Off Ver
    13
    Posts
    65

    Re: Replace Vlookup with VBA, separate text by ">" and sort

    Thanks a lot! It's working great!
    Is there a way I can select all data from from 3 to the end and sort it based on cell J3 from A to Z?

  5. #5
    Registered User
    Join Date
    02-07-2016
    Location
    Canada
    MS-Off Ver
    13
    Posts
    65

    Re: Replace Vlookup with VBA, separate text by ">" and sort

    Just managed it! Thanks!

  6. #6
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Replace Vlookup with VBA, separate text by ">" and sort

    I forgot


    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    02-07-2016
    Location
    Canada
    MS-Off Ver
    13
    Posts
    65

    Re: Replace Vlookup with VBA, separate text by ">" and sort

    Thank you so much!

  8. #8
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Replace Vlookup with VBA, separate text by ">" and sort

    You are welcome

+ 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: 08-15-2014, 06:00 AM
  2. [SOLVED] VBA help needed to remove all "/" then replace with "-" from cell "B3"and "B5"
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-17-2014, 02:11 PM
  3. [SOLVED] Doing a Find/Replace not working if "replace" text is too large
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-05-2014, 02:52 PM
  4. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  5. Replace numbers with Text ("1" to "Apple", for example)
    By pilotwings64 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2008, 06:56 PM
  6. Replies: 2
    Last Post: 07-17-2006, 06:55 PM
  7. Replace text "Smith, Joe" into "Joe Smith" for a single cell
    By flyingmachine in forum Excel General
    Replies: 6
    Last Post: 04-07-2005, 02:53 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