Re: Search for textboxes by andreas
andreas
Sat Mar 17 09:32:44 CDT 2007
On 17 Mrz., 12:30, "Klaus Linke" <i...@fotosatz-kaufmann.de> wrote:
> ActiveWindow.ScrollIntoView Selection.Range, True
>
> ...might also come in useful, because Word won't necessarily scroll a Shape
> into view automatically when you select it.
>
> Regards,
> Klaus
>
> "Jezebel" <warcri...@whitehouse.gov> schrieb im Newsbeitragnews:OT74QyGaHHA.1240@TK2MSFTNGP04.phx.gbl...
>
>
>
> > Textboxes are in the Shapes collection. Since this is just a one-off, you
> > can probably find it using these commands in the commands in the Immediate
> > window --
>
> > ? ActiveDocument.Shapes.Count to find out how many shapes there
> > are (not just text boxes)
>
> > and
>
> > ActiveDocument.Shapes(n).Select to select the nth shape ...
> > just work your way through from 1 to however many there are until you find
> > your missing one.
>
> > "andreas" <andreas.her...@gmx.de> wrote in message
> >news:1174117220.170550.118240@n76g2000hsh.googlegroups.com...
> >>I recently moved a text box around in a word file and somehow it
> >> disappeared. Can I ask Word to search for text boxes in a document via
> >> VBA?
>
> >> Help is appreciated. Thank you very much in advance.
>
> >> Regards,
>
> >> Andreas- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
Good advice, thank you.
Regards,
Andreas