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

Hi!!

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.

e.g

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
Amol
Reply With Quote