+ Reply to Thread
Results 1 to 5 of 5

VBA for converting content of a Word/txt document to Excel table

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

    VBA for converting content of a Word/txt document to Excel table

    Hello. I have a Word/txt document with values tagged between multiple tags start <> and end </>. I have to create a table in Excel with the tagged values looping through the whole Word/txt file. Could someone help me with the VBA? Please see input, output and explanation files attached. Thank you.
    Attached Files Attached Files

  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,447

    Re: VBA for converting content of a Word/txt document to Excel table

    Are you still using Excel 2016? If you have upgraded to 365, the solution could be simpler (well, at least one of the steps).


    The Explanation worksheet has a tab named TechAssignment. Is this homework?

    Nothing is more frustrating than to be working on homework and to get stuck. Without guidance, you might have no hope of finishing the assignment before the deadline. The Internet can be a big help in that respect, but without learning how to get the right answer, asking others to solve your homework questions for you simply becomes a downward spiral (and it's cheating).

    We do not want to contribute to you cheating yourself out of your education, but we also acknowledge that seeking assistance to learn a concept is a legitimate request.

    If you are genuinely interested in receiving help in the form of tutoring or coaching, then please rephrase the title of your original post to clearly indicate you are seeking coaching or tutoring help. Any forum members (who are willing to assist as a tutor) will modify their responses accordingly to facilitate your learning. Tutors don't tell you the answers, they help you figure it out for yourself; so don't expect answers, expect suggestions, or just plain hints. Also, be specific in describing the function/formula or technique you trying to learn, and tell us what you have attempted so far. Otherwise, expect your plea for homework answers to be ignored.
    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


  3. #3
    Registered User
    Join Date
    07-13-2018
    Location
    Canada
    MS-Off Ver
    2016
    Posts
    34
    This is not a home assignment. Thank you.
    Last edited by 6StringJazzer; 03-24-2024 at 10:03 PM. Reason: Please do not quote entire posts to reply directly

  4. #4
    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,447

    Re: VBA for converting content of a Word/txt document to Excel table

    Try this:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    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,447

    Re: VBA for converting content of a Word/txt document to Excel table

    Lost interest in this thread and a possible solution?

+ 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. Help needed converting part of a spreadsheet into a Word document table please
    By dazzys in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 10-14-2021, 04:46 AM
  2. Replies: 5
    Last Post: 10-10-2021, 11:49 PM
  3. Converting a Word document to Excel
    By Martykatz9 in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 07-13-2021, 04:48 PM
  4. Replies: 3
    Last Post: 11-12-2010, 02:39 AM
  5. converting a MS word document to Excel
    By jon@karhu in forum Excel General
    Replies: 6
    Last Post: 02-10-2009, 02:55 PM
  6. Converting a Word Document to excel
    By KelB in forum Excel General
    Replies: 2
    Last Post: 03-13-2006, 05:10 AM
  7. Converting a Word document into an Excel one
    By Rageaholic in forum Excel General
    Replies: 2
    Last Post: 06-20-2005, 05:21 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