LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default SendMail Function in Excel 2003 not working properly


I have a macro that creates a copy of a worksheet, puts it in a new file
and then sends that file to a set recipient. The simple code seems to
work fine in Excel 2000, meaning it creates the copy, sends, asks the
security question, asks whether or not you want to save a copy, and
then closes that new file.

example code:

Sheets("test").Copy
ActiveWorkbook.SendMail ",
Subject:="test"
ActiveWorkbook.Close

But when moving to excel 2003, the same bit of code crashes the
program. I'm using microsoft outlook and the security is set to low or
med.

Any ideas on the issue?


--
JonPar
------------------------------------------------------------------------
JonPar's Profile: http://www.excelforum.com/member.php...o&userid=24766
View this thread: http://www.excelforum.com/showthread...hreadid=383324

 
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
Auto Fill function in Excel 2007 not working properly Raudawg Excel Worksheet Functions 5 April 3rd 23 01:27 PM
Why isn't my paste function working properly in Excel? trainer07 Excel Discussion (Misc queries) 2 October 19th 07 06:09 PM
Excel 2003 Data Sort & Subtotaling not working properly Roibn L Taylor Excel Discussion (Misc queries) 5 December 8th 05 05:59 PM
Excel SendMail Not working in XP Office 2003 Dannyboy1001 Excel Programming 5 February 3rd 05 04:23 AM
Replace function not working properly in Excel 2000 SP3 rgbytg Excel Worksheet Functions 5 November 11th 04 03:44 PM


All times are GMT +1. The time now is 08:17 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"