M
Melody4572
New to this, and so very confused after reading some of the answers on here;
so forgive me in advance.
What I am trying to do is save a word document as a text file but I need to
be able to give the user a pop up message box so that they can save the
informaiton under an ID number to make it easier for our SQL admin to code it
into another program.
This is the code, or rather macro that I am using right now
Sub test()
'
' test Macro
' Macro recorded 6/2/09 Melody
'
ChangeFileOpenDirectory "C:\Documents and Settings\mydesktop\Desktop\"
ActiveDocument.SaveAs FileName:="C:\Documents and
Settings\mydesktop\Desktop\cc testing" & _
Format(Now(), "mm_dd_yyyy hh mm AMPM"), FileFormat:=wdFormatText, _
LockComments:=False, Password:="", AddToRecentFiles:=True, WritePassword _
:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _
False
Application.Quit
End Sub
It is saving witht he cc test month and date stamp.txt but this does not
help them to enter the information under the correct User ID numbers. Yes,
it is still just being tested so it is really being sent to my desktop. I
will change all that once I get it to where they can work with it. Any help
will be greatly appreciated!
so forgive me in advance.
What I am trying to do is save a word document as a text file but I need to
be able to give the user a pop up message box so that they can save the
informaiton under an ID number to make it easier for our SQL admin to code it
into another program.
This is the code, or rather macro that I am using right now
Sub test()
'
' test Macro
' Macro recorded 6/2/09 Melody
'
ChangeFileOpenDirectory "C:\Documents and Settings\mydesktop\Desktop\"
ActiveDocument.SaveAs FileName:="C:\Documents and
Settings\mydesktop\Desktop\cc testing" & _
Format(Now(), "mm_dd_yyyy hh mm AMPM"), FileFormat:=wdFormatText, _
LockComments:=False, Password:="", AddToRecentFiles:=True, WritePassword _
:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _
False
Application.Quit
End Sub
It is saving witht he cc test month and date stamp.txt but this does not
help them to enter the information under the correct User ID numbers. Yes,
it is still just being tested so it is really being sent to my desktop. I
will change all that once I get it to where they can work with it. Any help
will be greatly appreciated!