Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get page wise word count in msword using VB
#1
Not Solved
I want to get word count for page 1 ,page 2 and so on.

How to get the words count based on the pages
If it's 5 pages i want words count for 1,2,3,4,5 pages details

I got the no of page count in msword
by using this
Code:
noofpages = wrdDoc.BuiltInDocumentProperties("Number of pages")

Got total Words count in msword also
wrdDoc.Words.Count

Thanks in advance
Reply
#2
Not Solved
Dont think it is possible directly so try by getting the doc word contents ( as long as its all text) then having found the last sentence of the page you want, count the words up to that sentence.

Just an idea.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Check the word and get no. of times that word in the webpage Sandeep.san229 0 1,446 10-31-2018, 06:42 PM
Last Post: Sandeep.san229
  pageDown in word.application wannel 0 1,762 11-25-2016, 10:06 PM
Last Post: wannel
  Automating Word Docs bart02 0 2,792 07-18-2014, 03:25 AM
Last Post: bart02
  Inserting Images in the Word file. atulparate 2 6,721 04-09-2012, 12:44 PM
Last Post: swathi
  Send Data from MSWord document 2 Excel File kisskasa 0 2,856 01-10-2012, 01:51 PM
Last Post: kisskasa

Forum Jump:


Users browsing this thread: 2 Guest(s)