![]() |
#1
|
|||
|
|||
![]()
I want to load an existing corel script in vba and execute it.
Any idea how to do this ? Thanks |
#2
|
||||
|
||||
![]()
You can use CorelScriptFile object for this. Here is how you do it in VBA:
Code:
Sub Test() Dim csf As CorelScriptFile Set csf = OpenCorelScriptFile("C:\Scripts\MyScript.csc") csf.Play ActiveDocument End Sub |
#3
|
|||
|
|||
![]()
Thanks for your prompt answer
|
![]() |
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 |
File Converter script error | CorelDummy | CorelDRAW/Corel DESIGNER VBA | 2 | 25-01-2005 08:38 |