Thread: Macro errors
View Single Post
 
Old 09-20-2012, 04:12 AM
muster36 muster36 is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: Aug 2011
Posts: 23
muster36 is on a distinguished road
Default

I have uploaded the file per the Paper clip icon as instructed
I have put the code for the macro between the Instructed code brackets
as below
Code:
Sub MMM()
'
' MMM Macro
'
'Call OpenDoc("E:\DOCUMENTS\MMM\LETTER.doc")
Selection.MoveDown Unit:=wdLine, Count:=6

End SubSub OpenDoc(StrDoc As String)
Documents.Open FileName:="StrDoc", ConfirmConversions:=False, ReadOnly:= _
  False, AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:= _
  "", Revert:=False, WritePasswordDocument:="", WritePasswordTemplate:="", _
  Format:=wdOpenFormatAuto, XMLTransform:=""
I do not know how to format code and can only send what I have copied from your initial Reply.

If I, as a doctor, told you to remove someones appendix you might need a lot of guidance so I, as a PC user, with no knowledge of computer coding also needs a lot of guidance
I am very grateful for your continuing patience
Attached Files
File Type: doc LETTER.doc (23.0 KB, 9 views)
Reply With Quote