Hey all,
I am new to Word programming but have done a bit in Excel. I want to know how to select a textbox. not a form control or activeX textbox a standard word textbox. in excel i would simply use textbox1.select but this doesnt seam to work in Word as i cant find out any properties on the textbox.
also once you have selected the textbox can you hide and show it? again in excel i would use textbox1.visible = false/true but i cant get it to work
can this be done in word?
Thanks
Last edited by t0m46; 09-10-2010 at 12:03 PM.
Hey all,
Have found the solution. Word saves them as a Shape, not a Text Box.
This is the code I have used.
the problem I am still finiding though is that everytime I reopen Word the Shape Number Changes. Dont know why, is Annoying.Code:ActiveDocument.Shapes("AutoShape 2").Visible = msoTrue
Have decided to do it in Excel now anyway, its better!!
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks