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 / August 2006

Tip: Looking for answers? Try searching our database.

get the first line of the first page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
john smith - 22 Aug 2006 23:57 GMT
Hi,

I have title and description(paragraph) and date created on the first page.
I need to get the title which is the first sentence and located in the first
page.

I don't know how to to this and I tried with many methods, all fails
miserably and always scanning all paragraph beyond first the page :(

Please help me! Thanks
John...
Jezebel - 23 Aug 2006 01:24 GMT
Activedocument.paragraphs(1)

Depending on what you're actually trying to do, there are likely to be
better ways, eg --

1. Use the Title, creation date, and comments document properties, and
insert them into the document using DocProperty fields.
2. Format the information using distinct styles and use StyleRef fields.

> Hi,
>
[quoted text clipped - 7 lines]
> Please help me! Thanks
> John...
john smith - 23 Aug 2006 01:33 GMT
That works very well. You are awesome Jezebel. Thanks!!!

> Activedocument.paragraphs(1)
>
[quoted text clipped - 16 lines]
>> Please help me! Thanks
>> John...
 
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.