Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 10th, 2003, 10:03 PM
Registered User
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Word automation in VB

I have a question about word automation in VB (VBA). I need to get a line number and page number of a specific word in a Microsoft word document. I have looked for functions that will return this information, but have been unable to find any. If anybody knows a function to do this, or has an alternate way, please reply.

Thanks
Reply With Quote
  #2 (permalink)  
Old June 13th, 2003, 08:16 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have done a lot of word automation with ASP.NET and also VB.NET but I have done it the other way around from taking the data and populating a word template.

I have also worked extensively with regular expression and I know you could do this with regular expression. What you would do is read the word document as a text string into the string reader and then use regular expression to find the value within that string that you need. If it is in the same position everytime it will be easy. But regular expression takes some time to understand.
I have seen a few good articals on 4guys.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.Net Word Automation deboe Pro Visual Basic 2005 0 November 26th, 2007 09:57 PM
Word Automation TheNoobiest Beginning VB 6 1 November 9th, 2007 03:11 PM
word templates automation narendrapawar Classic ASP Basics 3 September 20th, 2006 04:11 AM
Word Automation in XP bmains ASP.NET 1.0 and 1.1 Professional 0 July 21st, 2004 09:27 AM



All times are GMT -4. The time now is 11:17 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.