+ Reply to Thread
Results 1 to 3 of 3

Selecting and copying cells between certain texts multiple times.

  1. #1
    Registered User
    Join Date
    05-20-2014
    Posts
    5

    Selecting and copying cells between certain texts multiple times.

    Hi,
    I have the following problem. I have a long excel file made from multiple word documents that contains descriptions of furniture. Each original word document has the same structure.
    1.Header
    2.Table with 2 columns with information of manufacturers, in the last row of table there is distinct text (Furniture) in columnA, and serial number in column B.
    3.Now there is content which i'm not interested in copying.
    4.Then there's header with distinct text - but with different numbers on each, so it only contains a distinct text, not the whole cell is always the same.
    5.First list which i want to copy.
    6.Then again header with distinct text (again with different number).
    7.Second list which i want to copy.
    End of document.
    I'm only interested in data marked in red and i would like to copy it to new sheet in form of a list:

    Autonumerate1 serial number in column B
    Title of first list
    Autonumerate2(from1) 5.First list which i want to copy.
    Title of second list
    Autonumerate3(from1) 7.Second list which i want to copy.
    The whole thing done until end of document. I feel sorry for posting this, but i seriously have no idea how to write this, i'm a very beginner in the matter of vba. I would appreciate any help. This stuff would seriously save me A LOT of time, I don't know if it's even doable.
    Regards,
    fea

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Selecting and copying cells between certain texts multiple times.

    Hello feanar,

    If you can post a copy of the workbook for review, it will help us find a solution for you faster.

    How To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    05-20-2014
    Posts
    5

    Re: Selecting and copying cells between certain texts multiple times.

    Hello,
    Thanks for replying. I've attached cleared up file as requested - Sheet1 - data set, Sheet2 - list which i want to obtain. I just want to get this output, if there's another way of combining this I will gladly accept any solutions. Thanks for help in advance.

    copying_criteria.xls

    EDIT: I would also like to add that only cells marked in red are wanted for extraction.
    Regards,
    fea
    Last edited by Leith Ross; 09-04-2014 at 09:15 PM.

+ 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. [SOLVED] VBA Help needed to fill cells with some specific texts based on multiple conditions
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-18-2014, 12:52 PM
  2. copying 2 cells multiple times to a range
    By NewToVBA_23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2013, 06:09 PM
  3. Selecting / copying a picture multipul times using VB
    By Thompo in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-27-2012, 03:09 AM
  4. Copying a dataset multiple times - and selecting titles for this dataset
    By alocke in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-07-2012, 10:15 PM
  5. Help with merging texts from multiple cells
    By gronnies in forum Excel General
    Replies: 5
    Last Post: 11-13-2009, 03:28 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