Modify Object in Word with VBA

J

jlawson

I'm trying to build a form where the user types in a 10 digit number
and a barcode appears of that number. I have a barcode program on my
PC by ID Automation that will allow me to insert an object into Word
of any barcode I want. You can go into the object properties and
modify what the barcode is of. The name of the property inside the
object is called "DataToEncode" and the name of the object is
"BarCode1". Can VBA do this or is there a much easier way?

Thank you for any help!
 
C

Cindy M.

Hi Jlawson,
I'm trying to build a form where the user types in a 10 digit number
and a barcode appears of that number. I have a barcode program on my
PC by ID Automation that will allow me to insert an object into Word
of any barcode I want. You can go into the object properties and
modify what the barcode is of. The name of the property inside the
object is called "DataToEncode" and the name of the object is
"BarCode1". Can VBA do this or is there a much easier way?
Whether VBA can do this depends on whether the application exposes an
ActiveX COM interface (similar to Excel and MS Graph). You need to ask
this of the company that provides the program (ID Automation?)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

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