Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-02-2016, 05:48 AM
rpb925 rpb925 is offline Insert and Filling Textbox using VBA Windows 7 64bit Insert and Filling Textbox using VBA Office 2010 64bit
Novice
Insert and Filling Textbox using VBA
 
Join Date: Mar 2016
Location: Sydney
Posts: 17
rpb925 is on a distinguished road
Default

It seems like it doesn't like the AddTextbox Command it keeps coming up with following Error Run-time eror '-2147024809(80070057) The Specified value is out of range. I've copy and pasted the vba into a macro in word and it runs like a charm. I believe it is something to do with running the addTextbox from Access that is flipping it out.
If you have access I assume you'll get the same error. Not sure if I have to set the variable as something other than a "as Word.Shape"

PS Thanks Graham for the tip on running already open word application will try it out!!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert and Filling Textbox using VBA Restrict Editing function disable insert textbox function IanM_01 Word 5 11-21-2015 02:29 AM
Insert superscript into a textbox Deltaj Word VBA 3 11-30-2014 04:23 PM
insert text in freeform graphic (make it a textbox) fzr Word 2 09-03-2014 05:54 AM
Insert and Filling Textbox using VBA Display result in textbox based on the input of another textbox scarymovie Word VBA 5 05-16-2012 07:05 PM
How to insert a hyperlink in activex textbox Joe Patrick Word VBA 1 10-03-2011 06:03 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft