I'm no expert with Word Macros, but there are things you say in your post that I am not clear about.
1] Where does that "2244328-42569" come from?
2] If you use Save as, then you would normally use File > Save as, retain the original file name, but change the 'Save as type' to Rich Text Format.
3] So, using the recorder, it will record your steps above, ie File > Save as, (change file type), click Save. The file name should not have altered. Then stop the recorder and view the macro.
Is that what happens when you try it that way?
Greetings. I know only enough about macros & programming to be dangerous, so I am hoping this is a simple, syntax question. I am trying to create a macro in MS Word 2003 (via the recorder) that simply saves the file in a new format (.rtf) in a new location.
My question is, in the code below, what is the proper syntax to save the file using the current filename, instead of the static filename "2244328-42569.rtf" (the file used to record the macro)?
' Save_As_RTF Macro
' Macro recorded 2/17/2009 by TCB
ActiveDocument.SaveAs FileName:="2244328-42569.rtf", FileFormat:= _
wdFormatRTF, LockComments:=False, Password:="", AddToRecentFiles:=True, _
WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _