Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating UserForms in Excel

I am creating a userform for tracking purposes. I know that you can set a spreadsheet to automatically route a copy of the spreadsheet to an email address. However, I do not want it to route the entire spreadsheet everytime someone makes an entry. I just need it to route a copy of the entry. Is there a way to route just a copy of the entry?

Thanks
Pam
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Creating UserForms in Excel

When you say route a copy of the entry do you mean the values entered into
the userform ?

If you do not route the entire sheet then you must create a sheet with just
the entry on and send this, but how does the recepient know what to do with
it? What about sending the userform values in a body text of an email?

Sub MailUpdate()
'You must add a reference to the Microsoft outlook Library
Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(olMailItem)
With OutMail
.To = "
.CC = ""
.BCC = ""
.Subject = "Entry Update"
.Body = "This is an automated email - new entry is:" & VbCrLf &
userform1.textbox1.value
.Send
End With
Set OutMail = Nothing
Set OutApp = Nothing
End Sub

Cheers
Nigel

"RayzGurl" wrote in message
...
I am creating a userform for tracking purposes. I know that you can set a

spreadsheet to automatically route a copy of the spreadsheet to an email
address. However, I do not want it to route the entire spreadsheet everytime
someone makes an entry. I just need it to route a copy of the entry. Is
there a way to route just a copy of the entry?

Thanks
Pam





----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel and launching userforms Lumpjaw New Users to Excel 6 August 21st 06 01:39 AM
Creating UserForms Victor New Users to Excel 1 July 8th 05 07:57 PM
Help Userforms / Excel SUMIF Hopest Excel Worksheet Functions 4 June 3rd 05 05:38 PM
How to load userforms in excel (vb) zisko3 Excel Programming 1 January 29th 04 02:28 AM
Creating Userforms and textbox numbers Bruccce Excel Programming 0 July 31st 03 04:22 AM


All times are GMT +1. The time now is 04:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"