View Single Post
 
Old 08-19-2015, 06:19 AM
jbndylan jbndylan is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Aug 2015
Location: Virginia, US
Posts: 1
jbndylan is on a distinguished road
Default

Hi, I get an "Compile error: Expected: end of statement" error on the save line.
dt = Format(CStr(Now), "mmddyyy")

ChangeFileOpenDirectory "\\vcuhshmo\groups\Claims Administration\CCU\PVOH\PVOH Mail Merge Letters\PVOH Mailers - Test\"

With ActiveDocument
' StrPath = .path & "\"
StrName = .Bookmarks("Name").Range.Text .SaveAs FileName:=StrName & ".docx"
End With
What have I missed?
Reply With Quote