Results 1 to 17 of 17

Copy specified data from notepad to excel

Threaded View

  1. #1
    Registered User
    Join Date
    11-22-2014
    Location
    US
    MS-Off Ver
    Office 365
    Posts
    83

    Copy specified data from notepad to excel

    I have a several notepad text files saved in a location. I need a macro to get a section of information from each file to be copied to an excel sheet depending on the file names listed in column A of the sheet. The text file has data in the below mentioned format with each data separated by lines(---------------------),

    HTML Code: 
    if column B's header is DVB, the below data should be as copied

    DVB:

    xxxxx xxxxx
    xyz:xxxx
    xxx

    xxxx xxxxx xxxxx

    likewise if the header is ABC, then it should copy

    ABC:

    xxxxx xxxxx
    xyz:xxxx
    xxx

    xxxx xxxxx xxxxx

    xxxx xxxxx

    all the data from the header name(ABC) till the end of particular header's data that is till the line(-------) needs to be copied.

    Need help on this..Thanks in Advance!
    Last edited by sarajun_88; 04-09-2017 at 04:14 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy Excel data to Notepad file
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-19-2015, 11:01 AM
  2. Copy data from notepad into excel
    By platesigns in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-28-2014, 12:54 PM
  3. vbscript to copy data from excel to notepad
    By samiulla.warimani in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-20-2014, 10:27 PM
  4. Macro to copy data from excel to notepad
    By emmamaki in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-19-2014, 03:42 AM
  5. [SOLVED] Copy excel data to notepad.
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2012, 08:56 AM
  6. [SOLVED] How do i copy columns of data in notepad into excel?
    By JJ in forum Excel General
    Replies: 1
    Last Post: 02-10-2005, 06:06 PM
  7. [SOLVED] How do i copy columns of data in notepad into microsoft excel?
    By JP in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-10-2005, 06:06 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