Thread: [Solved] Splitting Out PDFs
View Single Post
 
Old 12-03-2012, 03:38 PM
4mysanity 4mysanity is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Nov 2012
Posts: 16
4mysanity is on a distinguished road
Default RE:

Thanks Pal!

Just a quick question, seems to work, sort of, I executed the Macro and got an error on this line

Code:
.SaveAs2 FileName:=sPath & Str & ".pdf", FileFormat:=wdFormatPDF, AddToRecentFiles:=False
But then I reset the project, executed the Macro and it worked perfectly. Then I tried testing it one more time, then got an error on this line (which is 12 lines up from the end of the End Sub command:

Code:
Rng.Copy
any idea why that might be? I thought it had something to do with the desination folder I was saving in, but that wasn't it.
Reply With Quote