|
-
October 22nd, 2004, 01:52 PM
#1
Get Word Document Line Count
I'm trying to get a line count for various word documents though VB code. If I save it as a temporary .txt file the text file doesn't do a carrage return when it word wraps in a document and thus the line count becomes erroneous when opening the file for Input and looping thru to the end. How can I access the MS Word line count property? Also, is there a way to ignore blank lines? Thanks!
-
February 9th, 2005, 03:23 AM
#2
Re: Get Word Document Line Count
by using wordapp.statistics.wdnumberoflines
j.sakthivel
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|