+ Reply to Thread
Results 1 to 16 of 16

Note pad txt file to ms word letter conversion

  1. #1
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Note pad txt file to ms word letter conversion

    I am attaching here with my sample txt file in which req is that

    msg to: Abc
    msg to :cde

    like wise so many records are there in my orignal file
    so what i want is that separate letter can be genarate from my this txt file by name as abc ,cde as document name


    important thing is that a have format already designed so like mail merge this code should ask about my ms word letter and after browsing the letter it opens the letter and where ever i put cursor and enter it start writing on letter and genrate as many letters as msg to : Abd ,cde...as so on are there

    where i put cursor and enter the


    -----------------------------------------

    record pertaing to abc should be placed


    ............................................................



    ################ can be used as sperator for genaration of letters ..it was all my thinking ,rest you all are experts and know better than me than how it can be done better

  2. #2
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Sample txt file is attached..
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Seeing the time sechedule and the views i am again requesting you all -experts plz help me as it would solve many of my problem

  4. #4
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Is it that much diff-it can be done through importing the txt file to excel then break it in letters using # as seprater

    just macro devolopers can assist i think

  5. #5
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Its being two to three days and my threat i still open....but that is not a problem,problem is that i havnt got the solution/suggestion yet...experts you can devolope any code i knw..plz help me

  6. #6
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Still no solution?????

  7. #7
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Still no solution????? Is there any body in this forum who can help me and give me a macro for this

  8. #8
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    I wasnt expecting this much of time to get a single reply...very much surprised that no body has even attempted yet..i hvnt got any reply/suggestion till now

  9. #9
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Getting some dissapon...

  10. #10
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    No ans till now....

  11. #11
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Common guies what has happened to this forum?? Anybody

  12. #12
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Still waiting.....

  13. #13
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,835

    Re: Note pad txt file to ms word letter conversion

    Rohan,

    You are your own worst enemy! You are impatient and your frequent posts both here and in your other threads give the impression to anyone who doesn't actually read the thread that you're already being given plenty of help. Some of the contributors here are reluctant to butt in on a thread in which the amount of activity (i.e. the post count) suggests help is already being given.

    As for your data, Word has no tools to take such a file and turn it into separate documents. Some programming would be required. You mention mailmerge. How was this text file generated? If it came from a Word mailmerge, it would be far simpler to use one of the splitter macros that have already been written (do a web search) to split the Word mailmerge document than to take your text file, re-import it into Word, then parse it for splitting. In other words, you seem to be making work that you now want someone else to do for you.

    This is not a free coding forum for impatient people who don't take the time to learn to properly use the tools they already have and who do not take the time to see what other tools have already been developed to address their needs.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  14. #14
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Please Login or Register  to view this content.
    THIS IS THE CODE LIKE

    NOW WILL YOU PLZ HELP ME TO MODIFY IT LIKE RATHER THAN GENARATING A SINGLE CONSOLIDATED FILE ...IT BREAKS AFTER EACH OFFICE NOTE FINISHED AND EACH NOTE PAD SHOULD BE NAMED AS ITS RECORD I.D

  15. #15
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Record i.d means branch name

  16. #16
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,835

    Re: Note pad txt file to ms word letter conversion

    IMHO you're going about this task entirely the wrong way. Since you want the output in Word, why not automate Word from Excel and produce the documents directly? Amongst other things, that means you could use a template that allows the standard text to be stored there instead of having to be hard-coded in the macro and allows you to use a table to which you can add rows for holding the customer's variable data. As it is, if you open the notepad output in Word and use anything other than a fixed-width font none of your tabular data will align properly.

    Alternatively, you may want to try one of the Many-to-One Mail Merge add-ins, from:
    Graham Mayor at http://www.gmayor.com/ManyToOne.htm; or
    Doug Robbins at https://skydrive.live.com/?cid=5aedc...615E886B%21566

    Finally, PLEASE DON'T SHOUT!!! It's rude and unnecessary.

  17. #17
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    736

    Re: Note pad txt file to ms word letter conversion

    Many to one mail merge great that is what i wanted!

+ 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. first letter of every word with a . afterwards
    By justme123 in forum Excel General
    Replies: 5
    Last Post: 01-11-2008, 11:08 PM
  2. Take out the 2 letter from the word
    By eQuestion in forum Excel General
    Replies: 5
    Last Post: 08-22-2007, 03:43 AM
  3. [SOLVED] Default Capital letter for 1st letter of a word
    By Jeff in forum Excel General
    Replies: 6
    Last Post: 07-10-2006, 03:39 AM
  4. First letter of each word
    By Cardinal in forum Excel General
    Replies: 3
    Last Post: 07-05-2006, 02:50 PM
  5. Replies: 1
    Last Post: 01-20-2006, 01:15 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