![]() |
#1
|
|||
|
|||
![]()
Hi,
i want to copy a single layer from a dokument to another with the following vb script: Dim lr As Layer Dim TempDoc As Document Set TempDoc = PHOTOPAINT.OpenDocument("c:\file.cpt") Set lr = TempDoc.Layers.Selection("Layername") lr.Copy when i run it the error comes: objektvariable oder with-blockvariable nicht festgelegt does someone know how to fix this? |
![]() |
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 |
existence of layer | modzho | CorelDRAW/Corel DESIGNER VBA | 7 | 04-09-2008 14:37 |
VBA help needed - changing colours | fremoikaner | CorelDRAW/Corel DESIGNER VBA | 1 | 18-11-2004 07:06 |
Deleting Shapes on the Guides Layer | Rick Randall | CorelDRAW/Corel DESIGNER VBA | 2 | 28-09-2004 12:07 |
Copy to Adobe Illustrator Macro | Tallywhacker | Macros/Add-ons | 2 | 24-05-2004 08:07 |
Copy and paste objects in CDR9 | macnab | CorelDRAW/Corel DESIGNER VBA | 0 | 03-09-2003 11:59 |