OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29-04-2018, 14:23
knowbodynow knowbodynow is offline
Senior Member
 
Join Date: Mar 2006
Location: Hatsukaichi near Hiroshima
Posts: 428
Default Save Part of A Document?

Suppose the current document has 10 pages. Is there anyway save the last 5 pages to a separate file? Thanks.
Reply With Quote
  #2  
Old 29-04-2018, 18:51
knowbodynow knowbodynow is offline
Senior Member
 
Join Date: Mar 2006
Location: Hatsukaichi near Hiroshima
Posts: 428
Default

This is the best I've been able to come up with:

Code:
ActiveDocument.Save

For i = 1 To 5
ActiveDocument.Pages.First.Delete
Next i

ActiveDocument.SaveAsCopy newname
ActiveDocument.Revert
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
this is the first part of my problem. wellboy SecuriDesign 1 24-04-2012 14:10
Is Selection Part of a Group? bprice CorelDRAW/Corel DESIGNER VBA 3 19-04-2012 17:55
Can I set color to only part of the word? lohmac CorelDRAW/Corel DESIGNER VBA 2 05-09-2010 07:10
how to save multiple pages in coreldraw 12 OR how to save quality eps for animation kickingandscreaming General 2 19-08-2007 22:28
Multipage document save as separate pages Zulugula New product ideas 5 16-03-2007 15:54


All times are GMT -5. The time now is 17:35.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com