![]() |
#5
|
||||
|
||||
![]()
Ah, but have you found the solution??
It appears all you need to do is move: Code:
myPath = "H:\PWS\Parks\Parks Operations\Sports\Sports15\WORKORDERS\" & Format(ws_vh.Range("B2"), "ddd dd-mmm-yy") .SaveAs myPath & "\" & rpt_od & ".docx" .Range.Characters.Last.Delete and you don't need any of: Code:
Set oDoc2 = objWord.ActiveDocument With oDoc2 myPath = "H:\PWS\Parks\Parks Operations\Sports\Sports15\WORKORDERS\" & Format(ws_vh.Range("B2"), "ddd dd-mmm-yy") .SaveAs myPath & "\" & rpt_od & ".docx" End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Tumtum | Word | 1 | 08-15-2015 12:59 PM |
![]() |
OTPM | Project | 3 | 02-12-2015 08:54 AM |
Video not working when saved as .ppt But does when saved as .pptx | patientxwolf | PowerPoint | 5 | 01-24-2014 02:16 PM |
Task List Reports | dbsoccer | Outlook | 1 | 04-06-2013 06:33 AM |
![]() |
DMA-Pacific | Word | 1 | 03-27-2012 11:49 PM |