Create textbox in word from access

  • Thread starter Thread starter McKeown NewsGroup Account
  • Start date 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
 
It looks ok in principle. Show the code in context, & say exactly what the
error is, & where it occurs.

TC
 
Back
Top