Code:
Dim mcDate As String
Dim mcDocName As String
myDate = Day(Now)
Worksheets("Index Changes").Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
Worksheets("data").Delete
Worksheets("Funding Data").Delete
Worksheets("Tables").Delete
mcDate = InputBox("What is today's date?", "Save File As...")
mcDocName = "SP Changes " & mcDate & ".xls"
ActiveDocument.SaveAs Filename:=mcDocName, FileFormat:=wdFormatXMLDocument
I'm getting an Object Required error (424), not sure where that is coming in at, I'm assuming on the string mcDocName? What am I doing wrong there....?