-
Editing a word template form from VB6
I need to know how to open a word templete that is a form and fill in certain fields, check a few check boxs and then print the form out filled out
I got something to work, but it just isn't as clean as I'd like
-
No one knows the how to edit the form fields in a word doc from VB.
I just need to know how to refernce and edit them from there bookmark
-
Ok an update - I cleaned it up a little by removing the text boxes and putting in book marks. I also andded code to check the check boxes...It looks like this: (Note it's all dynamic from a database)
Doc.Bookmarks(rField!strformfield).Range.Text = rst!strField
Doc.FormFields(rField!strFormField).checkbox.value = true
I would love though to know how to get the formfields to edit the textbox
Similar Threads
-
By Steve in forum ASP.NET
Replies: 0
Last Post: 05-16-2003, 10:02 AM
-
Replies: 246
Last Post: 10-26-2002, 12:30 AM
-
Replies: 1
Last Post: 09-22-2001, 03:44 PM
-
By Keith in forum VB Classic
Replies: 7
Last Post: 02-05-2001, 02:32 AM
-
By Dan in forum VB Classic
Replies: 0
Last Post: 03-17-2000, 05:14 AM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks