Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looking for macro to send page as email.

Status
Not open for further replies.

Palo

Technical User
Jun 19, 2001
5
US
I'm developing an interactive document and would like to include an evaluation and registration page that the end-user can send back to me by double-clicking the macro field.

"Record Macro" will track my keystrokes only as far as calling up the email client. It won't repeat my email address in the client itself.

Any suggestions?

Bill Palladino (PALO)
 
You didn't mention what software is being used. For Excel :

'Select and Email each file
MailName = Selection.Range("A1") ' get who from current cursor cell
MailFile = Selection.Range("B1") ' get filename from current cell + 1 column to right
Windows(MailFile).Activate ' Activate the file to Email
ActiveWorkbook.SendMail Recipients:=MailName, Subject:="Here ya go . . ." ' Send it


 
Sorry about that...

Using MS WORD 2000.

Will the same macro work?

Thanks,

Palo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top