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 (e-mail address removed)
Products http://www.geocities.com/word_heretic/products.html

Replies offlist may require payment.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top