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 24-03-2011, 21:32
gorgo gorgo is offline
Senior Member
 
Join Date: Feb 2010
Posts: 169
Default include groups - reverting symbols to objects

I need to include groups of objects when this code runs...it searches for and converts all symbols back to objects.

Code:
Sub Go()
    Dim s As Shape
    Dim sr As New ShapeRange
    Dim p As Page, i As Integer
    Dim OrigSelection As ShapeRange
    For i = 1 To ActiveDocument.Pages.Count
            ActiveDocument.Pages(i).Activate
    Set sr = ActivePage.Shapes.FindShapes(query:="@type='symbol'")
    'For Each s In sr
    For Each s In ActivePage.FindShapes()
        s.Symbol.RevertToShapes
    Next s
    Next i
End Sub
Reply With Quote
  #2  
Old 25-03-2011, 13:16
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

Hi.
Here's something that can do that.
-John
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
Artistic Media Groups And VBA knowbodynow CorelDRAW/Corel DESIGNER VBA 2 08-05-2008 22:18
How Can I reference groups of objects? knowbodynow CorelDRAW/Corel DESIGNER VBA 4 25-01-2007 17:18
Processing inside groups ddonnahoe CorelDRAW/Corel DESIGNER VBA 8 07-08-2005 14:34
Multiple Groups & Align Under kuty CorelDRAW/Corel DESIGNER VBA 2 17-08-2004 13:21
Include files Steve CorelDRAW/Corel DESIGNER VBA 2 29-09-2003 20:43


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


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