Click here to Skip to main content
15,896,912 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Code for Enrollment System Pin
Richard MacCutchan16-Jul-10 23:11
mveRichard MacCutchan16-Jul-10 23:11 
GeneralRe: Code for Enrollment System [modified] Pin
Luc Pattyn16-Jul-10 23:29
sitebuilderLuc Pattyn16-Jul-10 23:29 
GeneralRe: Code for Enrollment System Pin
DaveAuld17-Jul-10 1:33
professionalDaveAuld17-Jul-10 1:33 
QuestionHow can use treenode's checkbox to control other controls whether are visible or not? Pin
sanyexian15-Jul-10 21:05
sanyexian15-Jul-10 21:05 
AnswerRe: How can use treenode's checkbox to control other controls whether are visible or not? Pin
Estys16-Jul-10 0:57
Estys16-Jul-10 0:57 
GeneralRe: How can use treenode's checkbox to control other controls whether are visible or not? Pin
sanyexian16-Jul-10 22:57
sanyexian16-Jul-10 22:57 
GeneralRe: How can use treenode's checkbox to control other controls whether are visible or not? Pin
Estys17-Jul-10 1:29
Estys17-Jul-10 1:29 
Questionvb script code Pin
henkbongers15-Jul-10 20:42
henkbongers15-Jul-10 20:42 
I like to make with VB a command button in word to submit an email.

therefore I used 'the routing slip method' with this code:

Private Sub CommandButton1_Click()
ActiveDocument.HasRoutingSlip = True
With ActiveDocument.RoutingSlip
.Subject = "Reactie"
.AddRecipient "blabla@.nl"
.AddRecipient "blabla@gmail.com"
.Delivery = wdAllAtOnce
End With
ActiveDocument.Route
End Sub

when I save the document and try to use the command button I get a window with the message: a program is trying to access e-mail adresses you stored in outlook do you want to allow this?
I have three options:
no: it redirected it to a debug
yes: there nothing happening
yes for example 1 minut: it is sending just one time after I click on yes.I get an email who say that I have to choose an other emailadress to send it to.

this is not what I want.

the question is:

I send by email a word document to a person. I would like an answer from that person. therefore I want to make a command button in that word document. the action should be: the person answers the question in the word document clicks on the command button and the word document is send to my emailadres.

who can help me to the VB code for this command button. I'm pleased to receive a correct code or information why the code I have used don't work.
AnswerRe: vb script code Pin
Eddy Vluggen16-Jul-10 1:24
professionalEddy Vluggen16-Jul-10 1:24 
AnswerRe: vb script code PinPopular
DaveAuld16-Jul-10 2:29
professionalDaveAuld16-Jul-10 2:29 
GeneralRe: vb script code Pin
DaveAuld16-Jul-10 3:58
professionalDaveAuld16-Jul-10 3:58 
GeneralRe: vb script code Pin
Eddy Vluggen16-Jul-10 4:49
professionalEddy Vluggen16-Jul-10 4:49 
AnswerRe: vb script code Pin
DaveAuld16-Jul-10 3:38
professionalDaveAuld16-Jul-10 3:38 
AnswerRe: vb script code Pin
DaveAuld16-Jul-10 3:51
professionalDaveAuld16-Jul-10 3:51 
QuestionError 2023 in Range Pin
priyaahh15-Jul-10 19:54
priyaahh15-Jul-10 19:54 
AnswerRe: Error 2023 in Range Pin
DaveAuld16-Jul-10 3:56
professionalDaveAuld16-Jul-10 3:56 
GeneralRe: Error 2023 in Range Pin
priyaahh17-Jul-10 7:08
priyaahh17-Jul-10 7:08 
QuestionData binding Pin
waner michaud15-Jul-10 11:19
waner michaud15-Jul-10 11:19 
AnswerRe: Data binding Pin
AnnieMacD15-Jul-10 12:16
AnnieMacD15-Jul-10 12:16 
Questionvb script code Pin
henkbongers15-Jul-10 10:57
henkbongers15-Jul-10 10:57 
AnswerRe: vb script code Pin
DaveAuld15-Jul-10 12:38
professionalDaveAuld15-Jul-10 12:38 
AnswerRe: vb script code Pin
Smithers-Jones16-Jul-10 1:07
Smithers-Jones16-Jul-10 1:07 
QuestionRemove whitespace in front of String element of an Array (vba, excel macro) Pin
TabascoSauce15-Jul-10 6:02
TabascoSauce15-Jul-10 6:02 
AnswerRe: Remove whitespace in front of String element of an Array (vba, excel macro) [modified] Pin
DaveAuld15-Jul-10 6:07
professionalDaveAuld15-Jul-10 6:07 
AnswerRe: Remove whitespace in front of String element of an Array (vba, excel macro) Pin
DaveAuld15-Jul-10 12:25
professionalDaveAuld15-Jul-10 12:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.