Results 1 to 4 of 4

Help! edit multi-cells with conditions. Thank all of you!

Threaded View

  1. #1
    Registered User
    Join Date
    09-24-2017
    Location
    Thailand
    MS-Off Ver
    2013
    Posts
    2

    Question Help! edit multi-cells with conditions. Thank all of you!

    Hi, i am student, i need Macro to edit about 3000 quizzies like that ( i edited about ~ 200 quizzes). You can see below, every question contain { content } . I need { } is first variable to define as range to replace content in { } and Answer (A) or Answer (B/D/D) are 2nd variable to define.

    Exp: 4PoE5cI.png

    1. We defined Question 1 have { } and next we find in {} contain Answer (B) now Macro will replace (B) One year to
    /=(B) One year. Replace Other choice (A/C/D) to ~(A) Many years ~(C) Until next month ~(D) Today

    Question 1. For how long can this product be enjoyed?
    {
    (A) Many years
    (B) One year
    (C) Until next month
    (D) Today
    ####
    Answer (B)
    More: asd qwe eiquwei oquwoe uqiw ueqio quweo iqwuoe
    }

    ----------After running Macro-->
    Question 1. For how long can this product be enjoyed?
    {
    ~(A) Many years
    /=(B) One year
    ~(C) Until next month
    ~(D) Today
    ####
    Answer (B)
    More: asd qwe eiquwei oquwoe uqiw ueqio quweo iqwuoe
    }

    -------------------------------------------------------------------------------
    2. We defined Question 2 have { } and next we find in {} contain Answer (C) now Macro will replace (C) Four to /=(C) Four

    Question 2. How many different sizes does the product come in?
    {
    (A) A variety
    (B) Two
    (C) Four
    (D) One for each customer
    ####
    Answer (C)
    More: 123 13 1 4 1j4 k1jl4kj 1kl3 1k23jl1
    }

    ------------After running Macro-->
    Question 2. How many different sizes does the product come in?
    {
    ~(A) A variety
    ~(B) Two
    /=(C) Four
    ~(D) One for each customer
    ####
    Answer (C)
    More: 123 13 1 4 1j4 k1jl4kj 1kl3 1k23jl1
    }
    ------------------------------------------------------------------
    Other Forums:
    https://www.mrexcel.com/forum/excel-...k-all-you.html
    https://stackoverflow.com/questions/...ank-all-of-you
    https://www.excelforum.com/excel-pro...ll-of-you.html
    https://www.excelguru.ca/forums/show...ank-all-of-you!
    http://www.vbaexpress.com/forum/show...ank-all-of-you!


    Thank all of you!
    Last edited by imbaboy95; 09-25-2017 at 09:50 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Ranking with multi conditions
    By ngocpdn in forum Excel General
    Replies: 2
    Last Post: 06-08-2017, 05:16 AM
  2. Accessible multi-line rich edit control
    By TomA4986 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-04-2016, 01:17 PM
  3. Count it multi criteria accross multi cells
    By jfoley5197 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-10-2013, 03:42 PM
  4. Replies: 19
    Last Post: 10-05-2012, 01:03 PM
  5. sum with multi conditions
    By sheryar in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 09-02-2009, 01:02 PM
  6. how to edit link for multi hyperlink?
    By long236541 in forum Excel General
    Replies: 0
    Last Post: 06-18-2009, 12:41 PM
  7. Multi Conditions
    By johntherevelato in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2005, 05:03 PM

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