Script only runs on my PC

Status
Not open for further replies.
D

Delnang

I have code behind a command button:

Example:

Item.Body = Item.Body & vbCrLf & "new stuff"

and when I select the command button it works on my PC. When I send the

email, and the recipient clicks the button, nothing happens.

How can I make it so the button work so that if one were to get the form

from the Org. Library, the command buttons run the code?

Thanks,

Angie
 
S

Sue Mosher [MVP]

The form must be published to the Organizational Forms library with the

"send form definition with item" box on the (Properties) page in the

designer unchecked.

Sue Mosher

"Delnang" <Delnang> wrote in message

news:72DAE0CB-0A26-42AC-80E8-163DA98F19EA@microsoft.com...
> I have code behind a command button:
> Example:

> Item.Body = Item.Body & vbCrLf & "new stuff"

> and when I select the command button it works on my PC. When I send the
> email, and the recipient clicks the button, nothing happens.

> How can I make it so the button work so that if one were to get the form
> from the Org. Library, the command buttons run the code?

> Thanks,
> Angie
>
 
D

Delnang

Yes, that worked like a charm. I knew it would be easy.

Two addtional questions:

1. Is there a way to add an =now() type statement to this so that one would

know when the text was added to an email?

2. Is there a way to surpress automatic signatures in an Outlook form?

Thanks,

Angie

"Sue Mosher [MVP]" wrote:


> The form must be published to the Organizational Forms library with the
> "send form definition with item" box on the (Properties) page in the
> designer unchecked.

> > Sue Mosher
> > >

> "Delnang" <Delnang> wrote in message
> news:72DAE0CB-0A26-42AC-80E8-163DA98F19EA@microsoft.com...
> >I have code behind a command button:
> > Example:
> > Item.Body = Item.Body & vbCrLf & "new stuff"
> > and when I select the command button it works on my PC. When I send the
> > email, and the recipient clicks the button, nothing happens.
> > How can I make it so the button work so that if one were to get the form
> > from the Org. Library, the command buttons run the code?
> > Thanks,
> > Angie
> >


>
 
S

Sue Mosher [MVP]

1) Yes, Now() is the correct function. Concatenate with to your existing

expression used to set Item.Body.

2) In what version of Outlook?

Sue Mosher

"Delnang" <Delnang> wrote in message

news:C7F8552C-1ED1-4F16-B02E-1481A4467BFE@microsoft.com...
> Yes, that worked like a charm. I knew it would be easy.

> Two addtional questions:
> 1. Is there a way to add an =now() type statement to this so that one
> would
> know when the text was added to an email?

> 2. Is there a way to surpress automatic signatures in an Outlook form?

> Thanks,
> Angie

> "Sue Mosher [MVP]" wrote:
>
> > The form must be published to the Organizational Forms library with the
> > "send form definition with item" box on the (Properties) page in the
> > designer unchecked.
>

>> "Delnang" <Delnang> wrote in message
> > news:72DAE0CB-0A26-42AC-80E8-163DA98F19EA@microsoft.com...
> > >I have code behind a command button:
> > > Example:
> >> > Item.Body = Item.Body & vbCrLf & "new stuff"
> >> > and when I select the command button it works on my PC. When I send
> > > the
> > > email, and the recipient clicks the button, nothing happens.
> >> > How can I make it so the button work so that if one were to get the
> > > form
> > > from the Org. Library, the command buttons run the code?
> >> > Thanks,
> > > Angie
 
D

Delnang

Thank you! What great knowledge.

1) What would the code look like? I am not very well versed. I get

confused as to where () and "" go.

Item.Body = Item.Body & vbCrLf & "concat(=now(),"new stuff")"

??? something like that?

2) Outlook 2003 SP3 for questions: Is there a way to surpress automatic

signatures in an Outlook form?

Thank you,

Angie

"Sue Mosher [MVP]" wrote:


> 1) Yes, Now() is the correct function. Concatenate with to your existing
> expression used to set Item.Body.

> 2) In what version of Outlook?
> > Sue Mosher
> > >

> "Delnang" <Delnang> wrote in message
> news:C7F8552C-1ED1-4F16-B02E-1481A4467BFE@microsoft.com...
> > Yes, that worked like a charm. I knew it would be easy.
> > Two addtional questions:
> > 1. Is there a way to add an =now() type statement to this so that one
> > would
> > know when the text was added to an email?
> > 2. Is there a way to surpress automatic signatures in an Outlook form?
> > Thanks,
> > Angie
> > "Sue Mosher [MVP]" wrote:
> >
> >> The form must be published to the Organizational Forms library with the
> >> "send form definition with item" box on the (Properties) page in the
> >> designer unchecked.
> >
> >> "Delnang" <Delnang> wrote in message
> >> news:72DAE0CB-0A26-42AC-80E8-163DA98F19EA@microsoft.com...
> >> >I have code behind a command button:
> >> > Example:
> >> >> > Item.Body = Item.Body & vbCrLf & "new stuff"
> >> >> > and when I select the command button it works on my PC. When I send
> >> > the
> >> > email, and the recipient clicks the button, nothing happens.
> >> >> > How can I make it so the button work so that if one were to get the
> >> > form
> >> > from the Org. Library, the command buttons run the code?
> >> >> > Thanks,
> >> > Angie


>
 
S

Sue Mosher [MVP]

1) Item.Body = Item.Body & vbCrLf & Now()

2) http://support.microsoft.com/?id=840393

Sue Mosher

"Delnang" <Delnang> wrote in message

news:3F28C0B7-728C-49E0-BCC9-B426D742A82D@microsoft.com...
> Thank you! What great knowledge.

> 1) What would the code look like? I am not very well versed. I get
> confused as to where () and "" go.
> & "concat(=now(),"new stuff")"
> ??? something like that?

> 2) Outlook 2003 SP3 for questions: Is there a way to surpress automatic
> signatures in an Outlook form?

> Thank you,
> Angie

> "Sue Mosher [MVP]" wrote:
>
> > 1) Yes, Now() is the correct function. Concatenate with to your existing
> > expression used to set Item.Body.
>

>> 2) In what version of Outlook?
> > > > Sue Mosher
> > >> >> >
>
>> "Delnang" <Delnang> wrote in message
> > news:C7F8552C-1ED1-4F16-B02E-1481A4467BFE@microsoft.com...
> > > Yes, that worked like a charm. I knew it would be easy.
> >> > Two addtional questions:
> > > 1. Is there a way to add an =now() type statement to this so that one
> > > would
> > > know when the text was added to an email?
> >> > 2. Is there a way to surpress automatic signatures in an Outlook form?
> >> > Thanks,
> > > Angie
> >> > "Sue Mosher [MVP]" wrote:
> >> >> The form must be published to the Organizational Forms library with
> > >> the
> > >> "send form definition with item" box on the (Properties) page in the
> > >> designer unchecked.
> > >
>> >> "Delnang" <Delnang> wrote in message
> > >> news:72DAE0CB-0A26-42AC-80E8-163DA98F19EA@microsoft.com...
> > >> >I have code behind a command button:
> > >> > Example:
> > >>> >> > Item.Body = Item.Body & vbCrLf & "new stuff"
> > >>> >> > and when I select the command button it works on my PC. When I send
> > >> > the
> > >> > email, and the recipient clicks the button, nothing happens.
> > >>> >> > How can I make it so the button work so that if one were to get the
> > >> > form
> > >> > from the Org. Library, the command buttons run the code?
> > >>> >> > Thanks,
> > >> > Angie

>

>
>>
 
D

Delnang

Again, Thank you!

One last question? Approx. 95% of our users have signatures. How do you go

about getting that custom code to appear above one's signature. Right now,

it is appearing below it.

Thanks,

Angie

"Sue Mosher [MVP]" wrote:


> 1) Item.Body = Item.Body & vbCrLf & Now()

> 2) http://support.microsoft.com/?id=840393

> > Sue Mosher
> > >

> "Delnang" <Delnang> wrote in message
> news:3F28C0B7-728C-49E0-BCC9-B426D742A82D@microsoft.com...
> > Thank you! What great knowledge.
> > 1) What would the code look like? I am not very well versed. I get
> > confused as to where () and "" go.
> > & "concat(=now(),"new stuff")"
> > ??? something like that?
> > 2) Outlook 2003 SP3 for questions: Is there a way to surpress automatic
> > signatures in an Outlook form?
> > Thank you,
> > Angie
> > "Sue Mosher [MVP]" wrote:
> >
> >> 1) Yes, Now() is the correct function. Concatenate with to your existing
> >> expression used to set Item.Body.
> >
> >> 2) In what version of Outlook?
> >> > >> Sue Mosher
> >> > >> > >> > >
> >
> >> "Delnang" <Delnang> wrote in message
> >> news:C7F8552C-1ED1-4F16-B02E-1481A4467BFE@microsoft.com...
> >> > Yes, that worked like a charm. I knew it would be easy.
> >> >> > Two addtional questions:
> >> > 1. Is there a way to add an =now() type statement to this so that one
> >> > would
> >> > know when the text was added to an email?
> >> >> > 2. Is there a way to surpress automatic signatures in an Outlook form?
> >> >> > Thanks,
> >> > Angie
> >> >> > "Sue Mosher [MVP]" wrote:
> >> >> >> The form must be published to the Organizational Forms library with
> >> >> the
> >> >> "send form definition with item" box on the (Properties) page in the
> >> >> designer unchecked.
> >> >
> >> >> "Delnang" <Delnang> wrote in message
> >> >> news:72DAE0CB-0A26-42AC-80E8-163DA98F19EA@microsoft.com...
> >> >> >I have code behind a command button:
> >> >> > Example:
> >> >> >> >> > Item.Body = Item.Body & vbCrLf & "new stuff"
> >> >> >> >> > and when I select the command button it works on my PC. When I send
> >> >> > the
> >> >> > email, and the recipient clicks the button, nothing happens.
> >> >> >> >> > How can I make it so the button work so that if one were to get the
> >> >> > form
> >> >> > from the Org. Library, the command buttons run the code?
> >> >> >> >> > Thanks,
> >> >> > Angie
> >
> >
> >>


>
 
S

Sue Mosher [MVP]

Rearrange the order of the three terms in the expression that sets the new

value of Item.Body.

Sue Mosher

"Delnang" <Delnang> wrote in message

news:400E18FB-0A94-4C48-9A70-D2F2F86E0C3D@microsoft.com...
> Again, Thank you!

> One last question? Approx. 95% of our users have signatures. How do you
> go
> about getting that custom code to appear above one's signature. Right
> now,
> it is appearing below it.

> Thanks,
> Angie

> "Sue Mosher [MVP]" wrote:
>
> > 1) Item.Body = Item.Body & vbCrLf & Now()
>

>> 2) http://support.microsoft.com/?id=840393



>

>> "Delnang" <Delnang> wrote in message
> > news:3F28C0B7-728C-49E0-BCC9-B426D742A82D@microsoft.com...
> > > Thank you! What great knowledge.
> >> > 1) What would the code look like? I am not very well versed. I get
> > > confused as to where () and "" go.
> > > & "concat(=now(),"new stuff")"
> > > ??? something like that?
> >> > 2) Outlook 2003 SP3 for questions: Is there a way to surpress
> > > automatic
> > > signatures in an Outlook form?
> >> > Thank you,
> > > Angie
> >> > "Sue Mosher [MVP]" wrote:
> >> >> 1) Yes, Now() is the correct function. Concatenate with to your
> > >> existing
> > >> expression used to set Item.Body.
> > >
>> >> 2) In what version of Outlook?
> > >> > > >> Sue Mosher
> > >> >> >> >> >> >> >
>> >
>> >> "Delnang" <Delnang> wrote in message
> > >> news:C7F8552C-1ED1-4F16-B02E-1481A4467BFE@microsoft.com...
> > >> > Yes, that worked like a charm. I knew it would be easy.
> > >>> >> > Two addtional questions:
> > >> > 1. Is there a way to add an =now() type statement to this so that
> > >> > one
> > >> > would
> > >> > know when the text was added to an email?
> > >>> >> > 2. Is there a way to surpress automatic signatures in an Outlook
> > >> > form?
> > >>> >> > Thanks,
> > >> > Angie
> > >>> >> > "Sue Mosher [MVP]" wrote:
> > >>> >> >> The form must be published to the Organizational Forms library with
> > >> >> the
> > >> >> "send form definition with item" box on the (Properties) page in
> > >> >> the
> > >> >> designer unchecked.
> > >> >
>> >> >> "Delnang" <Delnang> wrote in message
> > >> >> news:72DAE0CB-0A26-42AC-80E8-163DA98F19EA@microsoft.com...
> > >> >> >I have code behind a command button:
> > >> >> > Example:
> > >> >>> >> >> > Item.Body = Item.Body & vbCrLf & "new stuff"
> > >> >>> >> >> > and when I select the command button it works on my PC. When I
> > >> >> > send
> > >> >> > the
> > >> >> > email, and the recipient clicks the button, nothing happens.
> > >> >>> >> >> > How can I make it so the button work so that if one were to get
> > >> >> > the
> > >> >> > form
> > >> >> > from the Org. Library, the command buttons run the code?
> > >> >>> >> >> > Thanks,
> > >> >> > Angie
> > >
>> >
>> >>

>

>
>>
 
D

Delnang

Sorry, I got lost by that. Here is my code:

Sub Employee_Signature_Click()

Item.Body = Item.Body & vbCrLf & Now()

Item.Body = Item.Body & vbCrLf & "I have read the document."

End Sub

What would be rearranged so the date/time and text appear above the signature?

Thanks,

Angie

"Sue Mosher [MVP]" wrote:


> Rearrange the order of the three terms in the expression that sets the new
> value of Item.Body.

> > Sue Mosher
> > >

> "Delnang" <Delnang> wrote in message
> news:400E18FB-0A94-4C48-9A70-D2F2F86E0C3D@microsoft.com...
> > Again, Thank you!
> > One last question? Approx. 95% of our users have signatures. How do you
> > go
> > about getting that custom code to appear above one's signature. Right
> > now,
> > it is appearing below it.
> > Thanks,
> > Angie
> > "Sue Mosher [MVP]" wrote:
> >
> >> 1) Item.Body = Item.Body & vbCrLf & Now()
> >
> >> 2) http://support.microsoft.com/?id=840393

>
> >
> >> "Delnang" <Delnang> wrote in message
> >> news:3F28C0B7-728C-49E0-BCC9-B426D742A82D@microsoft.com...
> >> > Thank you! What great knowledge.
> >> >> > 1) What would the code look like? I am not very well versed. I get
> >> > confused as to where () and "" go.
> >> > & "concat(=now(),"new stuff")"
> >> > ??? something like that?
> >> >> > 2) Outlook 2003 SP3 for questions: Is there a way to surpress
> >> > automatic
> >> > signatures in an Outlook form?
> >> >> > Thank you,
> >> > Angie
> >> >> > "Sue Mosher [MVP]" wrote:
> >> >> >> 1) Yes, Now() is the correct function. Concatenate with to your
> >> >> existing
> >> >> expression used to set Item.Body.
> >> >
> >> >> 2) In what version of Outlook?
> >> >> > >> >> Sue Mosher
> >> >> > >> >> > >> >> > >> >
> >> >
> >> >> "Delnang" <Delnang> wrote in message
> >> >> news:C7F8552C-1ED1-4F16-B02E-1481A4467BFE@microsoft.com...
> >> >> > Yes, that worked like a charm. I knew it would be easy.
> >> >> >> >> > Two addtional questions:
> >> >> > 1. Is there a way to add an =now() type statement to this so that
> >> >> > one
> >> >> > would
> >> >> > know when the text was added to an email?
> >> >> >> >> > 2. Is there a way to surpress automatic signatures in an Outlook
> >> >> > form?
> >> >> >> >> > Thanks,
> >> >> > Angie
> >> >> >> >> > "Sue Mosher [MVP]" wrote:
> >> >> >> >> >> The form must be published to the Organizational Forms library with
> >> >> >> the
> >> >> >> "send form definition with item" box on the (Properties) page in
> >> >> >> the
> >> >> >> designer unchecked.
> >> >> >
> >> >> >> "Delnang" <Delnang> wrote in message
> >> >> >> news:72DAE0CB-0A26-42AC-80E8-163DA98F19EA@microsoft.com...
> >> >> >> >I have code behind a command button:
> >> >> >> > Example:
> >> >> >> >> >> >> > Item.Body = Item.Body & vbCrLf & "new stuff"
> >> >> >> >> >> >> > and when I select the command button it works on my PC. When I
> >> >> >> > send
> >> >> >> > the
> >> >> >> > email, and the recipient clicks the button, nothing happens.
> >> >> >> >> >> >> > How can I make it so the button work so that if one were to get
> >> >> >> > the
> >> >> >> > form
> >> >> >> > from the Org. Library, the command buttons run the code?
> >> >> >> >> >> >> > Thanks,
> >> >> >> > Angie
> >> >
> >> >
> >> >
> >
> >
> >>


>
 
S

Sue Mosher [MVP]

This is so very, very basic that you need to learn it, so I'm not going to

give you the answer, only hints. You already seem to know that you can

combine content strings with the & operator. What happens if you change the

order of the terms separated by & in your code below?

Sue Mosher

"Delnang" <Delnang> wrote in message

news:F059B730-4A0D-4D3B-AF91-77BF5082AC42@microsoft.com...
> Sorry, I got lost by that. Here is my code:

> Sub Employee_Signature_Click()
> Item.Body = Item.Body & vbCrLf & Now()
> Item.Body = Item.Body & vbCrLf & "I have read the document."
> End Sub

> What would be rearranged so the date/time and text appear above the
> signature?

> Thanks,
> Angie
> "Sue Mosher [MVP]" wrote:
>
> > Rearrange the order of the three terms in the expression that sets the
> > new
> > value of Item.Body.
>

>> "Delnang" <Delnang> wrote in message
> > news:400E18FB-0A94-4C48-9A70-D2F2F86E0C3D@microsoft.com...
> > > Again, Thank you!
> >> > One last question? Approx. 95% of our users have signatures. How do
> > > you
> > > go
> > > about getting that custom code to appear above one's signature. Right
> > > now,
> > > it is appearing below it.
> >> > Thanks,
> > > Angie
> >> > "Sue Mosher [MVP]" wrote:
> >> >> 1) Item.Body = Item.Body & vbCrLf & Now()
> > >
>> >> 2) http://support.microsoft.com/?id=840393

> >
> > >
>> >> "Delnang" <Delnang> wrote in message
> > >> news:3F28C0B7-728C-49E0-BCC9-B426D742A82D@microsoft.com...
> > >> > Thank you! What great knowledge.
> > >>> >> > 1) What would the code look like? I am not very well versed. I get
> > >> > confused as to where () and "" go.
> > >> > & "concat(=now(),"new stuff")"
> > >> > ??? something like that?
> > >>> >> > 2) Outlook 2003 SP3 for questions: Is there a way to surpress
> > >> > automatic
> > >> > signatures in an Outlook form?
> > >>> >> > Thank you,
> > >> > Angie
> > >>> >> > "Sue Mosher [MVP]" wrote:
> > >>> >> >> 1) Yes, Now() is the correct function. Concatenate with to your
> > >> >> existing
> > >> >> expression used to set Item.Body.
> > >> >
>> >> >> 2) In what version of Outlook?
> > >> >> > > >> >> Sue Mosher
> > >> >> >> >> >> >> >> >> >> >> >
>> >> >
>> >> >> "Delnang" <Delnang> wrote in message
> > >> >> news:C7F8552C-1ED1-4F16-B02E-1481A4467BFE@microsoft.com...
> > >> >> > Yes, that worked like a charm. I knew it would be easy.
> > >> >>> >> >> > Two addtional questions:
> > >> >> > 1. Is there a way to add an =now() type statement to this so
> > >> >> > that
> > >> >> > one
> > >> >> > would
> > >> >> > know when the text was added to an email?
> > >> >>> >> >> > 2. Is there a way to surpress automatic signatures in an Outlook
> > >> >> > form?
> > >> >>> >> >> > Thanks,
> > >> >> > Angie
> > >> >>> >> >> > "Sue Mosher [MVP]" wrote:
> > >> >>> >> >> >> The form must be published to the Organizational Forms library
> > >> >> >> with
> > >> >> >> the
> > >> >> >> "send form definition with item" box on the (Properties) page in
> > >> >> >> the
> > >> >> >> designer unchecked.
> > >> >> >
>> >> >> >> "Delnang" <Delnang> wrote in message
> > >> >> >> news:72DAE0CB-0A26-42AC-80E8-163DA98F19EA@microsoft.com...
> > >> >> >> >I have code behind a command button:
> > >> >> >> > Example:
> > >> >> >>> >> >> >> > Item.Body = Item.Body & vbCrLf & "new stuff"
> > >> >> >>> >> >> >> > and when I select the command button it works on my PC. When
> > >> >> >> > I
> > >> >> >> > send
> > >> >> >> > the
> > >> >> >> > email, and the recipient clicks the button, nothing happens.
> > >> >> >>> >> >> >> > How can I make it so the button work so that if one were to
> > >> >> >> > get
> > >> >> >> > the
> > >> >> >> > form
> > >> >> >> > from the Org. Library, the command buttons run the code?
> > >> >> >>> >> >> >> > Thanks,
> > >> >> >> > Angie
> > >> >
>> >> >
>> >> >
>> >
>> >
>> >>

>

>
>>
 
D

Delnang

Yes, got it. Thanks!

"Sue Mosher [MVP]" wrote:


> This is so very, very basic that you need to learn it, so I'm not going to
> give you the answer, only hints. You already seem to know that you can
> combine content strings with the & operator. What happens if you change the
> order of the terms separated by & in your code below?

> > Sue Mosher
> > >

> "Delnang" <Delnang> wrote in message
> news:F059B730-4A0D-4D3B-AF91-77BF5082AC42@microsoft.com...
> > Sorry, I got lost by that. Here is my code:
> > Sub Employee_Signature_Click()
> > Item.Body = Item.Body & vbCrLf & Now()
> > Item.Body = Item.Body & vbCrLf & "I have read the document."
> > End Sub
> > What would be rearranged so the date/time and text appear above the
> > signature?
> > Thanks,
> > Angie
> > "Sue Mosher [MVP]" wrote:
> >
> >> Rearrange the order of the three terms in the expression that sets the
> >> new
> >> value of Item.Body.
> >
> >> "Delnang" <Delnang> wrote in message
> >> news:400E18FB-0A94-4C48-9A70-D2F2F86E0C3D@microsoft.com...
> >> > Again, Thank you!
> >> >> > One last question? Approx. 95% of our users have signatures. How do
> >> > you
> >> > go
> >> > about getting that custom code to appear above one's signature. Right
> >> > now,
> >> > it is appearing below it.
> >> >> > Thanks,
> >> > Angie
> >> >> > "Sue Mosher [MVP]" wrote:
> >> >> >> 1) Item.Body = Item.Body & vbCrLf & Now()
> >> >
> >> >> 2) http://support.microsoft.com/?id=840393
> >
> >> >
> >> >> "Delnang" <Delnang> wrote in message
> >> >> news:3F28C0B7-728C-49E0-BCC9-B426D742A82D@microsoft.com...
> >> >> > Thank you! What great knowledge.
> >> >> >> >> > 1) What would the code look like? I am not very well versed. I get
> >> >> > confused as to where () and "" go.
> >> >> > & "concat(=now(),"new stuff")"
> >> >> > ??? something like that?
> >> >> >> >> > 2) Outlook 2003 SP3 for questions: Is there a way to surpress
> >> >> > automatic
> >> >> > signatures in an Outlook form?
> >> >> >> >> > Thank you,
> >> >> > Angie
> >> >> >> >> > "Sue Mosher [MVP]" wrote:
> >> >> >> >> >> 1) Yes, Now() is the correct function. Concatenate with to your
> >> >> >> existing
> >> >> >> expression used to set Item.Body.
> >> >> >
> >> >> >> 2) In what version of Outlook?
> >> >> >> > >> >> >> Sue Mosher
> >> >> >> > >> >> >> > >> >> >> > >> >> >
> >> >> >
> >> >> >> "Delnang" <Delnang> wrote in message
> >> >> >> news:C7F8552C-1ED1-4F16-B02E-1481A4467BFE@microsoft.com...
> >> >> >> > Yes, that worked like a charm. I knew it would be easy.
> >> >> >> >> >> >> > Two addtional questions:
> >> >> >> > 1. Is there a way to add an =now() type statement to this so
> >> >> >> > that
> >> >> >> > one
> >> >> >> > would
> >> >> >> > know when the text was added to an email?
> >> >> >> >> >> >> > 2. Is there a way to surpress automatic signatures in an Outlook
> >> >> >> > form?
> >> >> >> >> >> >> > Thanks,
> >> >> >> > Angie
> >> >> >> >> >> >> > "Sue Mosher [MVP]" wrote:
> >> >> >> >> >> >> >> The form must be published to the Organizational Forms library
> >> >> >> >> with
> >> >> >> >> the
> >> >> >> >> "send form definition with item" box on the (Properties) page in
> >> >> >> >> the
> >> >> >> >> designer unchecked.
> >> >> >> >
> >> >> >> >> "Delnang" <Delnang> wrote in message
> >> >> >> >> news:72DAE0CB-0A26-42AC-80E8-163DA98F19EA@microsoft.com...
> >> >> >> >> >I have code behind a command button:
> >> >> >> >> > Example:
> >> >> >> >> >> >> >> >> > Item.Body = Item.Body & vbCrLf & "new stuff"
> >> >> >> >> >> >> >> >> > and when I select the command button it works on my PC. When
> >> >> >> >> > I
> >> >> >> >> > send
> >> >> >> >> > the
> >> >> >> >> > email, and the recipient clicks the button, nothing happens.
> >> >> >> >> >> >> >> >> > How can I make it so the button work so that if one were to
> >> >> >> >> > get
> >> >> >> >> > the
> >> >> >> >> > form
> >> >> >> >> > from the Org. Library, the command buttons run the code?
> >> >> >> >> >> >> >> >> > Thanks,
> >> >> >> >> > Angie
> >> >> >
> >> >> >
> >> >> >
> >> >
> >> >
> >> >
> >
> >
> >>


>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
L VB script only runs manually Outlook VBA and Custom Forms 5
N Outlook 2021 'Run Script" Rules? Outlook VBA and Custom Forms 4
K Run a script rule to auto 'send again' on undeliverable emails? Outlook VBA and Custom Forms 1
W Designer Form 2013 and Script ? how ? Outlook VBA and Custom Forms 1
G print attachment straight away; working script edit not working Outlook VBA and Custom Forms 0
G Save attachment run a script rule Outlook VBA and Custom Forms 0
FryW Need help modifying a VBA script for in coming emails to auto set custom reminder time Outlook VBA and Custom Forms 0
G Script does not exist Outlook VBA and Custom Forms 0
G Trigger script without restaring outlook Outlook VBA and Custom Forms 7
A VBA Script - Print Date between first email in Category X and last email in Category Y Outlook VBA and Custom Forms 3
L Modifying VBA script to delay running macro Outlook VBA and Custom Forms 3
L Need help modifying a VBA script for emails stuck in Outbox Outlook VBA and Custom Forms 6
E Having some trouble with a run-a-script rule (moving mail based on file type) Outlook VBA and Custom Forms 5
D.Moore VB script to Digitaly Sign newly created outlook message Outlook VBA and Custom Forms 2
Aussie Rules Run a Script on an Incoming Email OK and then the Email reverts Outlook VBA and Custom Forms 0
D.Moore VBA script fail after Office 365 update Using Outlook 8
M Outlook 2013 Script Assistance - Save Opened Link with Subject Added Outlook VBA and Custom Forms 1
F Script for zip file attachment Outlook VBA and Custom Forms 1
S Change VBA script to send HTML email instead of text Outlook VBA and Custom Forms 3
Y Outlook 2013 Run A Script Outlook VBA and Custom Forms 4
Z Script to set account? Using Outlook 0
dweller Outlook 2010 Rule Ignores VBA Script Outlook VBA and Custom Forms 2
N VBA Script to Open highlighted e-mail and Edit Message Outlook VBA and Custom Forms 5
B Outlook rule run a Script doesn't work Outlook VBA and Custom Forms 1
J Calling a Public sub-routine from the script editor via VB script Outlook VBA and Custom Forms 4
K Outlook Archive to PST Files by Date Range VBA Script? Outlook VBA and Custom Forms 1
Peter H Williams Enable script containing VBA Outlook VBA and Custom Forms 12
H VB script in outlook form doesn't work anymore Outlook VBA and Custom Forms 2
A Script to fetch data from mails in restricted collection and sending them to excel Using Outlook 1
B Wanting to run a script that will filter any body that has a russian link in it. Outlook VBA and Custom Forms 5
Bri the Tech Guy Registry Tweak to make "Run a Script" Action Available Outlook VBA and Custom Forms 2
V VB script code to save a specific email attachment from a given email Outlook VBA and Custom Forms 14
Bri the Tech Guy Run Script rule not running for newly arriving messages Outlook VBA and Custom Forms 25
M Subject Line Automation - Trigger Script Delayed Outlook VBA and Custom Forms 2
Q Script to create a pst file for Archiving Using Outlook 1
Vijay Error in rule- Run a script Using Outlook 1
R VBA Script Quick Parts Using Outlook 1
Vijay Run script doesn't work in outlook Using Outlook 1
Q VBA Script to move item in secondary mailbox Outlook VBA and Custom Forms 2
Diane Poremsky Run a Script Rule: Send a New Message when a Message Arrives Using Outlook 2
F Avoid sending duplicate using Outlook script Outlook VBA and Custom Forms 2
oliv- How to Run a Script IN AN ADDIN with Outlook's Rules and Alerts Outlook VBA and Custom Forms 2
L Run a Script Rule doesn't work Using Outlook 5
N Outlook script to forward emails based on senders' address Outlook VBA and Custom Forms 2
S using script rule to save attachments on arrival Outlook 2010 Outlook VBA and Custom Forms 9
X Outlook script to run excel data Outlook VBA and Custom Forms 1
N VBA Script to Send Automatic Emails from Outlook 2010 Outlook VBA and Custom Forms 1
Davzell Change default pop3 account with script, prf or registery ? Outlook VBA and Custom Forms 0
D RUN SCRIPT WHEN OUTLOOK IS CLOSE Outlook VBA and Custom Forms 1
L Cannot run script from rule Outlook VBA and Custom Forms 7

Similar threads

Top