Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to send filtered range in email body?

Hi, I am using a code very similar to the one mentioned i

http://support.microsoft.com/default...b;en-us;816644

except I use advanced filter criteria to mark my range

The idea is that I send different tasks to different people, and then they reply back to me, filling in the blanks of "their" sheet

This works generally well, but a few of them (those with OL2003) suddently see the whole sheet when they reply to the mail

In OL2002 it was a question of setting "use word to edit emails", but that doesn't work anymore

Does anybody know if this is a setup problem (Excel or Outlook) or if I need to edit my macro

I thought that the whole "body" idea was to avoid enclosing the whole sheet...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default How to send filtered range in email body?

Hi Benny

If you don't use pictures on your sheet you can use the code on my site
http://www.rondebruin.nl/sendmail.htm#body

Look at
http://www.rondebruin.nl/files/SelectionOutlookBody.txt


Or easier use my Add-in for Outlook
http://www.rondebruin.nl/sendmail.htm#Add-in

I hope I have time to test your problem this week


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Benny" wrote in message ...
Hi, I am using a code very similar to the one mentioned in

http://support.microsoft.com/default...b;en-us;816644 ,

except I use advanced filter criteria to mark my range.

The idea is that I send different tasks to different people, and then they reply back to me, filling in the blanks of "their"

sheet.

This works generally well, but a few of them (those with OL2003) suddently see the whole sheet when they reply to the mail.

In OL2002 it was a question of setting "use word to edit emails", but that doesn't work anymore.

Does anybody know if this is a setup problem (Excel or Outlook) or if I need to edit my macro?

I thought that the whole "body" idea was to avoid enclosing the whole sheet...



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to send filtered range in email body?

Thanks for the reply, but I've already tried using your code, and I couldn't get it to work the way I wanted it to, until I used the link to MS from your site (I am using OL2002-SP2 myself)

Anyway, yesterday I didn't have the code to attach, but here it is (the macro contains several of these blocks)

XX
Columns("A:H").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:=Range
("K9:L11"), Unique:=Fals
Range("A1").Selec
Range(Selection, Selection.End(xlToRight)).Selec
Range(Selection, Selection.End(xlDown)).Selec


If Selection.Rows.Count < 3 Then GoTo YY

' Show the envelope on the ActiveWorkbook
ActiveWorkbook.EnvelopeVisible = Tru


With ActiveSheet.MailEnvelop
.Introduction = "Please reply only once a week.
.Item.To = "XX
.Item.Subject = "Maintenance and calibration
.Item.Sen
End Wit

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
Send a Sheet as body of Outlook Email David Ackerman on cape cod Excel Discussion (Misc queries) 0 March 19th 10 03:11 PM
How to send as email body only the selected page of a worksheet MDWNSJ Excel Discussion (Misc queries) 5 April 10th 08 07:39 PM
Trying to send an email with body text, to a range of cells [email protected] Excel Discussion (Misc queries) 1 November 29th 06 12:28 AM
Range of Cells to create body of email Hahndo Excel Worksheet Functions 1 September 26th 05 07:00 PM
body of email disappears when I send an email from Excel ~A Excel Discussion (Misc queries) 0 February 25th 05 10:55 PM


All times are GMT +1. The time now is 08:16 AM.

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

About Us

"It's about Microsoft Excel"