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-03-2012, 09:58
bprice's Avatar
bprice bprice is offline
Member
 
Join Date: Oct 2006
Location: Edmundston, New Brunswick, Canada
Posts: 89
Default Revert to Objects Automatically

Hey Everyone,
Quick question... does anyone know of a way to automatically "revert to objects" when importing symbols?

Thanks,
Brock
Reply With Quote
  #2  
Old 30-03-2012, 00:13
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,790
Blog Entries: 13
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Revert Symbols

A little CQL will do the trick to find the symbols, this will revert all symbols on your page. You may want to modify to the selection after the import.
Code:
Sub RevertSymbols()
    Dim s As Shape
    Dim sr As ShapeRange
    
    Set sr = ActivePage.Shapes.FindShapes(Query:="@type = 'symbol'")
    
    For Each s In sr.Shapes
        s.Symbol.RevertToShapes
    Next s
End Sub
-Shelby
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
Automatically Populating a userform norbert_ds CorelDRAW/Corel DESIGNER VBA 11 15-06-2007 18:41
How to merge pictures automatically? WCM Macros/Add-ons 1 18-07-2006 13:02
Can I automatically import a workspace (.XSLT)? annedeblois General 0 12-07-2006 11:38
First letter of text object changes to uppercase automatically Alex FAQ 1 16-05-2005 15:23
Creating a menu automatically clausm CorelDRAW/Corel DESIGNER VBA 1 30-03-2004 10:07


All times are GMT -5. The time now is 10:38.


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