Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Building on this same principle... I would like to copy and paste a selection
of visible cells (meaning some columns could be hidden) into the Body of a task. I would also like to keep the MS Office Excel Worksheet format. I have the following code: Sub ScheduleTask() Dim OLF As Outlook.MAPIFolder Dim olTaskItem As Outlook.TaskItem Set OLF = GetObject("", "Outlook.Application").GetNamespace "MAPI").GetDefaultFolder(olFolderTasks) Set olTaskItem = OLF.Items.Add ' creates a new task With olTaskItem .Subject = ActiveCell.EntireRow.Cells(1, 1).Value .DueDate = #2/1/2008# .ReminderTime = #1/21/2008 1:00:00 PM# .ReminderSet = True .Body = ??? .Save End With Set olTaskItem = Nothing Set OLF = Nothing End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating an Outlook Task Item | Excel Discussion (Misc queries) | |||
Searching for an Outlook Task from Excel | Excel Programming | |||
Creating a task in Outlook from a date in Excel | Excel Discussion (Misc queries) | |||
Sending task to Outlook from Excel | Excel Programming | |||
Creating a task in outlook | Excel Programming |