Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / November 2006

Tip: Looking for answers? Try searching our database.

Outlk 2k3 Script: Closin an opened Excel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
news.microsoft.com - 29 Nov 2006 11:04 GMT
Hi All,

From an outlook script I launch Excel  and fill I with data extracted from
my Task then I display It

Set objExcelApp = Item.Application.CreateObject("Excel.Application")

here is my code

ObjExcelApp.Workbooks.Add

Set ObjExcelBook = objExcelApp.ActiveWorkBook

Set ObjExcelSheets = objExcelBook.WorkSheets

-

-

-

objExcelSheet.Activate

objExcelApp.Application.Visible = True

Now I want To know how to close Excel

Tks
Ken Slovak - [MVP - Outlook] - 29 Nov 2006 14:54 GMT
ObjExcelApp.Quit

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hi All,
>
[quoted text clipped - 24 lines]
>
> Tks
bbnimda - 29 Nov 2006 19:37 GMT
Tks Ken,

> ObjExcelApp.Quit
>
[quoted text clipped - 26 lines]
>>
>> Tks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.