hyperlink with auto send, from a form on a slide?

  • Thread starter Thread starter Mr . .
  • Start date Start date
M

Mr . .

Can a form be placed on a slide, for an e-mail address to be entered, and
then when submit is clicked, a standard email is sent automatically from the
person to me, so I can be informed that the powerpoint show was completly
viewed?

I added a hyperlink, but it allows the sender to modify the content /
subject line of the email prior to sending.

I don't want that to happen so I can use filters in Oultook to move the
emails to a training folder for tracking purposes.

any ideas?
 
You can add the textbox from the Control Toolbox (select "View" | "Toolbars"
| "Control Toolbox" menu item). This will allow users to type text in the
box during slide show. The following macro will help you send email through
Outlook:

---
Sub SendEmailUsingOutlook()
Dim OLKA As Outlook.Application
Dim MI As Outlook.MailItem

Set OLKA = New Outlook.Application
Set MI = OLKA.CreateItem(olMailItem)
MI.To = "(e-mail address removed)"
MI.Subject = "Hello World"
MI.Body = "Hi"
MI.Send
Set MI = Nothing
Set OLKA = Nothing
End Sub
---

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
 
Can a form be placed on a slide, for an e-mail address to be entered, and
then when submit is clicked, a standard email is sent automatically from the
person to me, so I can be informed that the powerpoint show was completly
viewed?

I added a hyperlink, but it allows the sender to modify the content /
subject line of the email prior to sending.

I don't want that to happen so I can use filters in Oultook to move the
emails to a training folder for tracking purposes.

any ideas?

See Chirag's reply in the original thread.

But bear in mind that that code will only work if Outlook is the default mail
client. If they use Outlook Express or anything else, it won't fly.

And if I recall correctly, may pop up a message box warning the user that some
application is trying to use Outlook to send email behind their back, so to
speak ... you'll want to warn them of this so they don't just click No.

You can probably find controls or sample code to use in VB/VBA that communicate
directly with an SMTP server to send mail directly from your application, but
that can get complex in other ways ... what SMTP server to use, will it allow
you to use it and so on.

Depending on what you need to do, it may be simpler to send info to a cgi or
other script on your web server or send files via FTP.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top