View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Claud Balls Claud Balls is offline
external usenet poster
 
Posts: 72
Default Need help with Word macro

I'm having problems logging into that news group. Could somebody help me
with the following:

Documents(strSourceFile).SaveAs FileName:=strSourceFile & ".txt",
FileFormat:=wdFormatText


'strSourceFile is a word document that is not open
'My code returns a "bad document name" error



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!