View Single Post
Old 23-11-2006, 02:00
Posts: n/a
Default Urgent Help: Alex: with Corel VBA and Visual basic program


I have a Visual basic program which invokes the corel macro.

I just wanted to know is it possible to write a function which returns some string value back to the Calling visual basic program.


Visual basic program

dim abd as String

abd="call abc corel macro".

Corel macro

public function abc() as String

Activedocument.getsize dbla,dblb
dblTotlssize = dbla + dblb

returm dbltotalsize ''this has to be returned to the visual basic program.

Any help is appriciated

Thank You
Reply With Quote