Macro Sending Information to a VB Application

G

George Lee

How do write a macro to send information to an VB application?

For example, it'd be great if a user could a selection in Word, start a
macro, and send the selected text to a VB application for additional
processing?
 
D

Doug Robbins - Word MVP

Msgbox Selection.text

will display the selected text in a message box.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
G

George Lee

Thanks but I want to send text from a Word document to an independently
running .exe file (in this case VB-base, if that matters).
 
H

Helmut Weber

Hi George,

see the thread "Capture Cut-Copy-Paste actions" above.

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 

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