Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
passing arguments from an excel macro to a word macro KWE39 Excel Discussion (Misc queries) 1 July 7th 05 03:56 PM
Macro - Open Word with Excel macro Bill Excel Discussion (Misc queries) 3 May 23rd 05 11:21 PM
how to run a macro in word jakie Excel Programming 2 January 7th 04 03:45 PM
run word macro T. Alksndr Rstrpo Prado Excel Programming 1 September 17th 03 10:03 PM
run word macro Tom Ogilvy Excel Programming 0 September 17th 03 03:11 PM


All times are GMT +1. The time now is 04:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"