A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Macro to import Excel data to Tasks



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 1st 06, 03:07 PM posted to microsoft.public.outlook.program_vba
Patrix317
external usenet poster
 
Posts: 2
Default Macro to import Excel data to Tasks

I'm looking to create a "simple" macro that will import an Excel spreadsheet
that is pre-formatted with data to my tasks folder.

You may ask why not just keep the tasks in Outlook; however, the projects
are kept for our team in an Access database. I created a simple macro there
that exports the user's tasks to Excel. I can then import the tasks to
Outlook for my personal list.

I did check out the object browser and didn't see any methods there that
sttod out as importing data.

The steps I manually take a
File/ImportExport
Import from another program
Select Microsoft Excel
Make sure the path and filename are listed correctly in the dialog box
Click on "Do not import duplicates"
Click on Tasks
Click on the checkbox next to my import task (this is there because I've
already mapped the data earlier)
That's about it. The only minor clean up I do is to make sure that the
contact person is filled in. I do this just by opening it and saving it,
then it automatically gets filled in.

Sounds simple enough, and I'm hoping that it is.

Thanks!

Patrick
Ads
  #2  
Old May 1st 06, 05:27 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Macro to import Excel data to Tasks

You would need to create a new TaskItem, read the data from Excel, set the TaskItem's properties, save it, then repeat for the next Excel data. See http://www.outlookcode.com/d/customimport.htm
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Patrix317" wrote in message ...
I'm looking to create a "simple" macro that will import an Excel spreadsheet
that is pre-formatted with data to my tasks folder.

You may ask why not just keep the tasks in Outlook; however, the projects
are kept for our team in an Access database. I created a simple macro there
that exports the user's tasks to Excel. I can then import the tasks to
Outlook for my personal list.

I did check out the object browser and didn't see any methods there that
sttod out as importing data.

The steps I manually take a
File/ImportExport
Import from another program
Select Microsoft Excel
Make sure the path and filename are listed correctly in the dialog box
Click on "Do not import duplicates"
Click on Tasks
Click on the checkbox next to my import task (this is there because I've
already mapped the data earlier)
That's about it. The only minor clean up I do is to make sure that the
contact person is filled in. I do this just by opening it and saving it,
then it automatically gets filled in.

Sounds simple enough, and I'm hoping that it is.

Thanks!

Patrick

  #3  
Old May 2nd 06, 06:32 PM posted to microsoft.public.outlook.program_vba
Patrix317
external usenet poster
 
Posts: 2
Default Macro to import Excel data to Tasks

Thanks, Sue!

"Sue Mosher [MVP-Outlook]" wrote:

You would need to create a new TaskItem, read the data from Excel, set the TaskItem's properties, save it, then repeat for the next Excel data. See http://www.outlookcode.com/d/customimport.htm
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Patrix317" wrote in message ...
I'm looking to create a "simple" macro that will import an Excel spreadsheet
that is pre-formatted with data to my tasks folder.

You may ask why not just keep the tasks in Outlook; however, the projects
are kept for our team in an Access database. I created a simple macro there
that exports the user's tasks to Excel. I can then import the tasks to
Outlook for my personal list.

I did check out the object browser and didn't see any methods there that
sttod out as importing data.

The steps I manually take a
File/ImportExport
Import from another program
Select Microsoft Excel
Make sure the path and filename are listed correctly in the dialog box
Click on "Do not import duplicates"
Click on Tasks
Click on the checkbox next to my import task (this is there because I've
already mapped the data earlier)
That's about it. The only minor clean up I do is to make sure that the
contact person is filled in. I do this just by opening it and saving it,
then it automatically gets filled in.

Sounds simple enough, and I'm hoping that it is.

Thanks!

Patrick


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I import data from Excel into Outlook Sheila Outlook - Using Contacts 3 April 17th 06 09:57 PM
Excel macro to create e-mail in Outlook Web Access fitful_thought Outlook - General Queries 0 April 15th 06 10:23 AM
Is there a way to import TASKS from Excel mDougMc Outlook - Calandaring 2 April 14th 06 06:43 PM
open outlook data files from vbscript / macro? Mad Scientist Jr Outlook and VBA 2 January 24th 06 10:20 PM
IMPORT ADDITIONAL DATA FROM EXCEL TO OUTLOOK CONTACTS greek evangelos Outlook - Using Contacts 1 January 8th 06 04:23 AM


All times are GMT +1. The time now is 07:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.