Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / June 2005

Tip: Looking for answers? Try searching our database.

Footnotes & Range

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fede - 15 Jun 2005 14:27 GMT
Hi everybody,
I have a problem with footnotes.
How can I know if the current selection is inside the footnotes' area or is
inside the document?

I've tried with

If Selection.Range.Footnotes.Count<>0 then
   ' I'm inside the footnotes' area
End if

but it's incorrect. In fact Selection.Range.Footnotes.Count<>0  also when
Selection.Range contains a reference of a footnote.

Hoew can I do?
Thanks in advance.
Fede
Chuck - 15 Jun 2005 14:42 GMT
Use Selection.Range.Information for a lot of this kind of testing, eg:

If Selection.Range.Information(wdInFootnote) = True Then
   'you're in a footnote
End If

For more info look in at VBE help for Information Property.

> Hi everybody,
> I have a problem with footnotes.
[quoted text clipped - 13 lines]
> Thanks in advance.
> Fede
Fede - 15 Jun 2005 14:57 GMT
> Use Selection.Range.Information for a lot of this kind of testing, eg:
>
[quoted text clipped - 3 lines]
>
> For more info look in at VBE help for Information Property.

That works very well!
Thank you very much,Chuck.
Fede
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.