PC Review


Reply
Thread Tools Rate Thread

How to CC to an email when Accept button is used?

 
 
thefairy@gmail.com
Guest
Posts: n/a
 
      22nd Mar 2005
I'm working on a Vacation request form for my company. I've spend
hours getting it customized just right for the HR manager with
everything he wants. I'm stuck on the final request. The form is
filled out by employees. Their managers name is auto filled out for
them to send the request to. They fill out when they will be gone and
what type of time off is requested and send it off to their manager.
Then the manager gets the request and hits an "Accept" or "Deny"
button.

Here's the question: How can I get the form to respond to the user as
well as send a copy to our HR managers email address (E-Mail Removed)?
Even better would be if I could get everything copied into a public
folder so he could have all the requests stored somewhere for permanant
reference. His email would be fine too though.

I'm new to using VBScript but I think I somehow use a case statement
but not sure how to..

I was thinking along these lines:

Select Case Action.Name
Case "Approve"
item.recipients.add("HR Dept")
Case Else
'do nothing special for other actions
End Select

I am really guessing when it comes to code though. Can someone help me
out? I'm almost there I think.

Thank You.

-Craig

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
email doesn't automatically close when Accept/Reject button clicke =?Utf-8?B?U3V6YW5uZSBT?= Microsoft Outlook Form Programming 1 6th Jul 2005 01:46 PM
no accept or decline button show up when I open a task email. =?Utf-8?B?TWF0dEQ=?= Microsoft Outlook Discussion 0 2nd Dec 2004 06:31 AM
No accept button Glen Raggio Microsoft Outlook Calendar 0 7th Apr 2004 02:37 PM
No Accept Button Larry Microsoft Windows 2000 Windows Updates 3 25th Aug 2003 12:57 PM
Image Button won't work as Accept Button in IDE William Ryan Microsoft Dot NET 0 10th Aug 2003 01:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:22 PM.