Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Save/ Send as webpage ?

I have the following code that sends an excel workbook to
a list of email folks in a column on a worksheet
named "Report" . It works perfectly. But now recipients
are complaining that the file is too big. Can the code
below be modified to send only sheet "Report" as web page
or some other method that reduces the file size ? The
current size is about 300kb

Thanks, Steve
------
Sub E_Mail()
ActiveWorkbook.Save
Sort
Filter_all
Macro1
'sends the activeworkbook to the e-mail address in a
range named "list" in Sheet 'a sheet named E-Mail
Dim MyArr As Variant
MyArr = Sheets("Report").Range("list")
'Will send with the subject send email.xls
'ActiveWorkbook.SendMail MyArr
ActiveWorkbook.SendMail Recipients:=MyArr, _
Subject:=ActiveWorkbook.Sheets(1).Range("A1") & " All
Short (" & ActiveWorkbook.Sheets(1).Range("C1") & ") and
Missort (" & ActiveWorkbook.Sheets(1).Range("c25") & ")
Report" & Format$(Date, " mm-dd-yyyy")
Quit
End Sub



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Save/ Send as webpage ?

Hi Steve

http://www.rondebruin.nl/mail/folder1/mail2.htm
My Add-in have a option to send as a webpage (Outlook only)
http://www.rondebruin.nl/mail/add-in.htm

Also see if your usedrange on that sheet is not to big
http://www.contextures.com/xlfaqApp.html#Unused


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


"Steve" wrote in message ...
I have the following code that sends an excel workbook to
a list of email folks in a column on a worksheet
named "Report" . It works perfectly. But now recipients
are complaining that the file is too big. Can the code
below be modified to send only sheet "Report" as web page
or some other method that reduces the file size ? The
current size is about 300kb

Thanks, Steve
------
Sub E_Mail()
ActiveWorkbook.Save
Sort
Filter_all
Macro1
'sends the activeworkbook to the e-mail address in a
range named "list" in Sheet 'a sheet named E-Mail
Dim MyArr As Variant
MyArr = Sheets("Report").Range("list")
'Will send with the subject send email.xls
'ActiveWorkbook.SendMail MyArr
ActiveWorkbook.SendMail Recipients:=MyArr, _
Subject:=ActiveWorkbook.Sheets(1).Range("A1") & " All
Short (" & ActiveWorkbook.Sheets(1).Range("C1") & ") and
Missort (" & ActiveWorkbook.Sheets(1).Range("c25") & ")
Report" & Format$(Date, " mm-dd-yyyy")
Quit
End Sub





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
SAVE AS: Webpage Cazk88 Excel Discussion (Misc queries) 0 March 12th 08 01:07 PM
To Hyperlink or save as Webpage? Michelle New Users to Excel 1 December 31st 07 07:07 PM
Issues with 'Save as a webpage' Barryrscott Excel Discussion (Misc queries) 0 February 17th 07 09:48 PM
save as webpage? Excel Worksheet Functions 0 July 15th 05 09:05 AM
Trouble with Save as Webpage Bernard Liengme Excel Discussion (Misc queries) 1 July 12th 05 08:07 PM


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

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"