+ Reply to Thread
Results 1 to 7 of 7

How to save the opened word document as a Notepad/text file?

  1. #1
    Registered User
    Join Date
    07-06-2012
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    12

    How to save the opened word document as a Notepad/text file?

    I have the code to open the word document through excel vba.(attached the excel)

    Can anyone help me with the vba code to save the document as Notepad/text file.(Save as type = Plain text)

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: How to save the opened word document as a Notepad/text file?

    Take a look at this message.
    David
    (*) Reputation points appreciated.

  3. #3
    Registered User
    Join Date
    07-06-2012
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: How to save the opened word document as a Notepad/text file?

    Thanks for pointing out in right direction.

    I Used the below code,

    Please Login or Register  to view this content.
    It opens the word document but after that it show "Run-time error '448': Named argument not found"

    Please help me in rectifying it.

    Thanks once again.
    Last edited by Cutter; 09-08-2012 at 11:37 AM. Reason: Added code tags

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How to save the opened word document as a Notepad/text file?

    @ Rahul888

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at the top of the page and read Rule #3.
    Thanks.

  5. #5
    Registered User
    Join Date
    07-06-2012
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: How to save the opened word document as a Notepad/text file?

    Ok, Will take care in future. :-)

  6. #6
    Registered User
    Join Date
    07-06-2012
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: How to save the opened word document as a Notepad/text file?

    Can anyone help me in this???

  7. #7
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: How to save the opened word document as a Notepad/text file?

    Nothing looks out of place. Does this happen on the SaveAs line?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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