SAVE AS with dot in file name...

P

PL

Hi,

when I save a file with this VBA command : «ActiveDocument.SaveAs
FileName:="NewFile.01", FileFormat:=wdFormatHTML», the new file keep this
name and does not append the «.html» extention. What I have to do if want
the extention to be append even if I put a «.» in the file name of my
document ?

Thanks !

PL
 
W

Word Heretic

G'day "PL" <pl_core@no_spamhotmail.com>,

manually append it yourself.

FileName:="NewFile.01.html"

PL said:
Hi,

when I save a file with this VBA command : «ActiveDocument.SaveAs
FileName:="NewFile.01", FileFormat:=wdFormatHTML», the new file keep this
name and does not append the «.html» extention. What I have to do if want
the extention to be append even if I put a «.» in the file name of my
document ?

Thanks !

PL

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email [email protected]
Products http://www.geocities.com/word_heretic/products.html

Replies offlist may require payment.
 
Top