VBA

T

Tucker

Programming CorelDraw with VBA.
Resize an image and SAVE it...option window pops-up.
All is OK so I press either ALT-o or [ENTER]...works fine.

How do I do that under VBA control? SendKeys will NOT work...tried "%o",
"{ENTER}"...no go.

Thanks
 
T

Tucker

Is Visual Basic for Applications not a Microsoft product?
I was sorta hoping for a response from a knowledgeable programmer.

Alas, shame on me.

David Parker said:
Do you really expect an answer about CorelDraw in a Visio forum?

Tucker said:
Programming CorelDraw with VBA.
Resize an image and SAVE it...option window pops-up.
All is OK so I press either ALT-o or [ENTER]...works fine.

How do I do that under VBA control? SendKeys will NOT work...tried "%o",
"{ENTER}"...no go.

Thanks
 
D

David Parker

Yes, it is now, but use of SendKeys is frowned upon because it may go to the
wrong host, and you cannot error trap.

If you do not have the ability to record macros (ten amend them) in your
chosen application, and you don't have a help file to peruse, then consider
examining the objects with the Object Browser to see if you can achieve your
desired operation...


Tucker said:
Is Visual Basic for Applications not a Microsoft product?
I was sorta hoping for a response from a knowledgeable programmer.

Alas, shame on me.

David Parker said:
Do you really expect an answer about CorelDraw in a Visio forum?

Tucker said:
Programming CorelDraw with VBA.
Resize an image and SAVE it...option window pops-up.
All is OK so I press either ALT-o or [ENTER]...works fine.

How do I do that under VBA control? SendKeys will NOT work...tried
"%o",
"{ENTER}"...no go.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top