![]() |
#11
|
||||
|
||||
![]()
And if you have less than x4 you'll need this little mod:
Code:
Sub ConvertParagraphText() Dim s As Shape, p As Page Dim srParagraph As ShapeRange For Each p In ActiveDocument.Pages Set srParagraph = p.Shapes.FindShapes(, cdrTextShape) For Each s In srParagraph On Error Resume Next s.Text.ConvertToArtistic On Error GoTo 0 Next s Next p End Sub |
#12
|
||||
|
||||
![]()
I would modify that just a bit. ;-)
Code:
Sub ConvertParagraphText() Dim s As Shape, p As Page Dim srParagraph As ShapeRange For Each p In ActiveDocument.Pages Set srParagraph = p.Shapes.FindShapes(, cdrTextShape) For Each s In srParagraph If s.Text.Type = cdrParagraphText Then s.Text.ConvertToArtistic Next s Next p End Sub |
#13
|
||||
|
||||
![]()
Just curious.
Is it ok to use errors like I did? I am using it for powerclips on one of my macros. -John |
#14
|
||||
|
||||
![]()
ps. I was wondering what you would think of that...lol
|
#16
|
|||
|
|||
![]() Quote:
|
#17
|
||||
|
||||
![]()
In its simplest form:
Code:
ActiveDocument.SaveAs "C:\MyFolder\MyFileName.cdr" Code:
Sub SaveMe() Dim opt As New StructSaveAsOptions opt.EmbedICCProfile = False opt.EmbedVBAProject = True opt.Filter = cdrCDR opt.IncludeCMXData = False opt.Overwrite = True opt.Range = cdrAllPages opt.ThumbnailSize = cdr10KColorThumbnail opt.Version = cdrCurrentVersion ActiveDocument.SaveAs "C:\MyFolder\MyFileName.cdr", opt End Sub -Shelby |
#18
|
|||
|
|||
![]()
Interesting...but how would I tell this macro to insert the correct file name?...the currently open document name?
I probably don't want to edit the macro each time just to 'save as'.... -Greg |
#20
|
|||
|
|||
![]() Quote:
**UPDATE: Tried link in IE and got the file and will work with this. Thanks a lot John! Last edited by gorgo2; 28-04-2010 at 20:30. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Opening document with disabling macros | clausm | CorelDRAW/Corel DESIGNER VBA | 2 | 09-04-2010 16:06 |
New X4 Custom Dockers | bprice | CorelDRAW/Corel DESIGNER VBA | 4 | 21-07-2008 12:11 |
Custom Palettes? | masterchiefph | CorelDRAW/Corel DESIGNER VBA | 2 | 23-07-2007 20:41 |
Custom Palettes via VBA | ddonnahoe | CorelDRAW/Corel DESIGNER VBA | 7 | 13-11-2006 08:53 |
Add Custom Buttons.. | drg | CorelDRAW/Corel DESIGNER VBA | 6 | 17-09-2004 07:36 |