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
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