Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default emailing problem

I'm experiencing unusual behavior using Office Basic Edition 2003 on an IBM
Thinkpad running win XP Pro Sp2.

When I attempt to run the following code

Public Sub SendMe()
ThisWorkbook.SendMail ", "Test", False
End Sub

I get Run-time Error 1004, 'Application-defined or Object-defined error'

I have Outlook Express set as my default email prog, and I have the secutiry
feature turned off for warning if other progs try to send email as me. This
code works fine under identical conditions on my desktop but not on this
laptop. My desktop does have Office 2003 Pro instead of Basic, however.

Any ideas? Should I reinstall office? I already tried repairing it via
Control Panel applet.

Thanks,
William


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default emailing problem

In case anybody's still monitoring this question, we found that this bug
occurred when Office was installed *without* installing Outlook, even though
we were not using Outlook as an email client. After installing Outlook, the
code worked as expected. Apparently the Outlook installation adds the
emailing functionality to the entire suite.
William


"William Barnes" wrote in message
...
I'm experiencing unusual behavior using Office Basic Edition 2003 on an
IBM Thinkpad running win XP Pro Sp2.

When I attempt to run the following code

Public Sub SendMe()
ThisWorkbook.SendMail ", "Test", False
End Sub

I get Run-time Error 1004, 'Application-defined or Object-defined error'

I have Outlook Express set as my default email prog, and I have the
secutiry feature turned off for warning if other progs try to send email
as me. This code works fine under identical conditions on my desktop but
not on this laptop. My desktop does have Office 2003 Pro instead of Basic,
however.

Any ideas? Should I reinstall office? I already tried repairing it via
Control Panel applet.

Thanks,
William



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
Excel 2003 VBA problem - extracting and emailing worksheets BJ&theBear Excel Discussion (Misc queries) 2 May 25th 10 06:23 PM
Emailing lsherman22 Excel Discussion (Misc queries) 0 January 12th 06 07:35 PM
Code problem emailing range as html in Outlook body Alan Campbell Excel Programming 3 August 25th 04 06:59 PM
Emailing using VBA steve Excel Programming 3 September 23rd 03 06:39 PM
Macro Emailing Challenging Problem Sandip Excel Programming 1 July 10th 03 08:25 PM


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