Create textbox in word from access

  • Thread starter McKeown NewsGroup Account
  • Start date
M

McKeown NewsGroup Account

Hi

I'm new to vba and trying to insert a textbox in Word from Access. I used
the macro recorder in
Word to see how it was done, but can't seem to recreate the right code in
Access to do the job.

The code is:

AppWord.Documents(1).shapes.addtextbox(msoTextOrientationHorizontal, 117#,
108#, 189#, 126#).select

I get an out of range error.

Any ideas?

Thanks

Leonard
 
T

TC

It looks ok in principle. Show the code in context, & say exactly what the
error is, & where it occurs.

TC
 

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