Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Word VBA Discuss using VBA to program Word.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Word VBA 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 30th, 2006, 11:46 AM
Registered User
Join Date: Jan 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default word problem

I would like to know if it is possible:
I have a word dokument which has to be distributed to a couple of persons. I was thinking to do the checkboxes. Names whos checkbox is checkt shoud automaticly receive the copy of the document. Is this possible? And if yes, how. Can somebody help me?
Reply With Quote
  #2 (permalink)  
Old February 2nd, 2006, 04:54 PM
Registered User
Join Date: Dec 2005
Location: , , Germany.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to matpen

Hi Marindi
I am sorry but I am not getting the slightest idea of what you want to do. describe in detail your box, how the addresses are read? (Email addresses?) And how the recipients are going to receive “automatically” the document per fax, per email? Please describe precisely the whole scenario and try to name all the objects and their functions (of the scenario) otherwise we simply give up…

Reply With Quote
  #3 (permalink)  
Old February 13th, 2006, 12:31 PM
Registered User
Join Date: Jan 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

first of all thank you very much for the answer. I was in Germany last week. I already gave up with this because nobody answers for days. I never did any thing with VBA before. I saw you come from Germany? Do you speak German?

Problem: I have a word document with checkboxes (5). If you check a checkbox the person should receive a email with the document attached. The best would be if more then one box is checked then one email should be send with all the recipients (and not a extra mail on each one. I want to have a note too. Something like: "The document has been send to the following recipients: P.Blue, M.Red, B.Green...".
But first I want to get it work!!!!
I start to write the code.But it doesnt work...!!!

Here is a code that I start to write.

Private Sub CheckBox1_Click()

If CheckBox1.Value = True Then
Options.SendMailAttach = True
With Application.ActiveDocument.MailEnvelope
.Introduction = "Please read this and send me your comments."
With Documents("C:\Documents and Settings\xxxxx\Desktop\Template\To.doc").MailMerge
    .MailAddressFieldName = "sowieso@domain.com"
    .MailSubject = "Service Info"
    .Destination = wdSendToEmail
End With

    End With
End If
End Sub

I hope you can help me!!!! Danke, Danke, Danke!!!!
Reply With Quote

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
problem with export to word an image ultra08rrg Pro JSP 1 December 20th, 2006 03:41 AM
Help!! Problem instantiating WORD object using C#. handymulia ASP.NET 1.0 and 1.1 Basics 3 November 16th, 2006 05:18 PM
Help!! Problem instantiating WORD object using C#. handymulia ASP.NET 1.0 and 1.1 Professional 1 June 2nd, 2005 12:55 AM
IE6 word-wrap problem? beckfield XSLT 5 March 4th, 2005 02:59 PM

All times are GMT -4. The time now is 05:14 PM.

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