Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I am having a problem with a script.
I am just trying to send a range of cells from my spreadsheet throug Outlook. The code works if I just send ONE cell, but if I send th range it just returns "TRUE" in the body. Any idea what is up? Sub Email() Dim o Dim m Dim Msg As String Dim emailAddress As String Application.DisplayAlerts = False Set o = CreateObject("Outlook.Application") Set m = o.CreateItem(0) emailAddress = Cells(24, 1) m.To = emailAddress m.Subject = " Partials Report " Msg = Range("A1", "C5").Select m.body = Msg m.Send End Sub Thanks all, Mik -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 Basic Filters Problem | Setting up and Configuration of Excel | |||
Formatting problem with basic excel sheet | New Users to Excel | |||
Basic problem with EXCEL 2002 | Excel Discussion (Misc queries) | |||
Set up basic Macro in EXcel to use in other applications | Excel Discussion (Misc queries) | |||
Excel Macro Basic Help | Excel Programming |