G
Gabriele Azzaro
Hi there, hope this is not the wrong group for this q on Macros - can anyone
help me with a macro that would automatically Save As Plain Text a file -
keeping its name before the dot and just changing the extension to .txt?
What I have created naturally saves each file to the same name (NewName.txt
below):
Sub Save_As_TXT()
ActiveDocument.SaveAs FileName:="NewName.txt", FileFormat:= _
wdFormatText, LockComments:=False, Password:="",
AddToRecentFiles:=True, _
WritePassword:="", ReadOnlyRecommended:=False,
EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False,
SaveAsAOCELetter:= _
False, Encoding:=1252, InsertLineBreaks:=False,
AllowSubstitutions:=False _
, LineEnding:=wdCRLF
End Sub
THANKS for any help!
Gabriele
help me with a macro that would automatically Save As Plain Text a file -
keeping its name before the dot and just changing the extension to .txt?
What I have created naturally saves each file to the same name (NewName.txt
below):
Sub Save_As_TXT()
ActiveDocument.SaveAs FileName:="NewName.txt", FileFormat:= _
wdFormatText, LockComments:=False, Password:="",
AddToRecentFiles:=True, _
WritePassword:="", ReadOnlyRecommended:=False,
EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False,
SaveAsAOCELetter:= _
False, Encoding:=1252, InsertLineBreaks:=False,
AllowSubstitutions:=False _
, LineEnding:=wdCRLF
End Sub
THANKS for any help!
Gabriele