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 / April 2007

Tip: Looking for answers? Try searching our database.

Determine page index of a frame object

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg - 29 Apr 2007 19:01 GMT
I have an rtf document that was created from a Crystal Report and I
need to extract the data.  However, all the data is in individual
frames on the pages so there was no easy cut-n-paste into Excel
option.  I am building a small utility that is looping through each
frame object in the doc and based on the frames position, capturing
the data into arrays to output to a csv file.  So far so good, but I
need to be able to determine the page number of the page that the
frame is on.

So if I have this:

Dim x as frame
for each x in thisdocument
    msgbox "Page number is: " & ________
next

How do I fill in the blank?

Thanks in advance for any assistance.  Also, this is a little out of
my normal type development work, so if I'm in the wrong group, just
let me know.
Doug Robbins - Word MVP - 29 Apr 2007 19:57 GMT
Check out the Selection.Information property.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

>I have an rtf document that was created from a Crystal Report and I
> need to extract the data.  However, all the data is in individual
[quoted text clipped - 17 lines]
> my normal type development work, so if I'm in the wrong group, just
> let me know.
Greg - 30 Apr 2007 15:32 GMT
Perfect!  Thank you so much for your help!

On Apr 29, 1:57 pm, "Doug Robbins - Word MVP"
<d...@REMOVECAPSmvps.org> wrote:
> Check out the Selection.Information property.
>
[quoted text clipped - 29 lines]
>
> - Show quoted text -

Rate this thread:






 
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.