+ Reply to Thread
Results 1 to 3 of 3

Macro expoerting from Notepad to Excel

  1. #1
    Registered User
    Join Date
    04-20-2011
    Location
    Isle of Man
    MS-Off Ver
    Excel 2007
    Posts
    4

    Macro expoerting from Notepad to Excel

    Hi guys, please could you help save me some time.

    This is basically what i have:

    250 folders (I folder per customer), each with 27 (months of info) notepad files, I need to write a macro which can open each notepad file for each customer then copy and paste the data into a different worksheet in a spreadsheet.

    Does anyone have any ideas?

    Cheers guys

    Nick

  2. #2
    Registered User
    Join Date
    03-16-2004
    Location
    UK
    MS-Off Ver
    2003
    Posts
    85

    Thumbs up Re: Macro expoerting from Notepad to Excel

    Try something like this (code untested).....

    Please Login or Register  to view this content.
    You might need to add an extra line of code to add sheets as you go and rename them.
    Hope that helps.
    Last edited by incjourn; 04-20-2011 at 10:44 AM.
    Phil

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Macro expoerting from Notepad to Excel

    What happens if you import the notepadfile into the worksheet directly ?
    It depends on the structure of the notepad-files whether a conversion is necessary or not.



+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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