473,468 Members | 1,334 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Is it possible to use Outlook 2003 from Excel 2000 through VBA

57 New Member
Hi Members,

Is it possible to use Outlook 2003 from excel 2000.

I am using Outlook 2003 and Excel 2000.

While try to send mail automatically from excel 2000 (VBA), Application is giving error msg like It can not be created.

What I have to do?
Could anybody please tell me to handle this issue.
May 6 '08 #1
2 1435
jeffstl
432 Recognized Expert Contributor
Hi Members,

Is it possible to use Outlook 2003 from excel 2000.

I am using Outlook 2003 and Excel 2000.

While try to send mail automatically from excel 2000 (VBA), Application is giving error msg like It can not be created.

What I have to do?
Could anybody please tell me to handle this issue.
Can you be more clear?

Are you trying to create a email message within excel then import it into your outlook application for sending? Or are you trying to actually send an email message from Excel out to an email address?

Also what is the specific error message you are getting from your VBA code?
May 6 '08 #2
kadghar
1,295 Recognized Expert Top Contributor
Hi Members,

Is it possible to use Outlook 2003 from excel 2000.

I am using Outlook 2003 and Excel 2000.

While try to send mail automatically from excel 2000 (VBA), Application is giving error msg like It can not be created.

What I have to do?
Could anybody please tell me to handle this issue.
Well, Excel has some application dialogs, one of them allows you to send via e-mail the active file, is the xlDialogSendMail constant (189), so something like this will do:

Expand|Select|Wrap|Line Numbers
  1. Application.Dialogs(189).Show
But if what you want is the complete job done (sending it, etc), then i'll recomend you to open the Outlook from Excel's VBA as an object, and work with its ActiveX :

Expand|Select|Wrap|Line Numbers
  1. dim obj1 as object
  2. set obj1= createobject("outlook.application")
and here you can find out how to work with it.

HTH.
May 6 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: willockguard-newsgoups | last post by:
We successfully run an Access 97 database which has used Outlook 200 as an e-mail server. Outlook 2000 was referenced using: Dim appOutlook As New Outlook.Application Dim itm As Outlook.MailItem...
4
by: HG | last post by:
Hi gurus Sorry the rather long post... I am facing a real world problem here, and I dunno how to approach it. Don't even know if this is the right group...but since my app is ASP.NET I tried...
10
by: John | last post by:
Hi When I open a new outlook email from vb.net, sometimes outlook is very slow to appear or occasionally outlook freezes completely. I am targeting mixed office2000/xp environments so I am...
6
by: Ernie | last post by:
We have an Outlook 2000 VBA application - 8 user forms, and about a thousand lines of code - that we wish to distribute. We know that we can password-protect the code, but that does not give us the...
7
by: John | last post by:
Having a problem sending emails through vb.net. Our inhouse software automatically sends an email to the programming staff whenever an error is encountered. This code works just fine on machines...
3
by: wizzbangca | last post by:
Hi everyone. Having problems with a utility I am writing for work. The previous IT Director thoughtfully allowed 3 (2000, xp, 2003) versions of outlook to be installed rather than 1. Now I need...
4
by: John A. Bailo | last post by:
After upgrading from Outlook 2000 to the 2003 object model, some of my Outlook automation code no longer functions. For example, in 2000, I used to be able to loop through a list of .Items in a...
5
by: John A. Bailo | last post by:
I have a program that I'm converting from Outlook 2000 to Outlook 2003. It basically opens Outlook and iterates through a series of items in a public folder. I was able to run this as a...
4
by: =?Utf-8?B?THluZXJz?= | last post by:
Hello All, We have a VB.NET application writen using VS 2003. This application apens an excel file from a vendor, reads the data and performs whatever functions it needs. We recently upgraded our...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.