Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - wordapp saveas text syntax?

Reply
 
Old 08-15-2008   #1 (permalink)
GS


 
 

wordapp saveas text syntax?

what is the wordapp.ActiveDocument.SaveAs syntax for saving as text?

google for answer but I found only one instance of question using
saveas(filespec &".pdf")
if that is valid, I am tempt to use .txt instead



My System SpecsSystem Spec
Old 08-15-2008   #2 (permalink)
Tom Lavedas


 
 

Re: wordapp saveas text syntax?

On Aug 15, 5:25*pm, "GS" <gsmsnews.microsoft.co...@xxxxxx>
wrote:
Quote:

> *what is the wordapp.ActiveDocument.SaveAs syntax for saving as text?
>
> *google for answer but *I found only one instance of question using
> saveas(filespec &".pdf")
> if that is valid, I am tempt to use .txt instead
const wdFormatDOSText = 4
wordapp.ActiveDocument.SaveAs filespec & ".txt", wdFormatDOSText

I got this from the Word VBA help documentation and the value of the
constant from the Object viewer in Word VBA.

Tom Lavedas
===========
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Generic Interface syntax in VS 2005 using Old syntax .NET General
Powershell SaveAs with Excel 2007 PowerShell
SaveAs dialog changes file-name to save Vista file management
Office SaveAs Issue Vista General
Folder Shortcuts and save/saveas dialogs Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46