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


I have a couple questions regarding a program I'm working on that
exports information from an Excel schedule to Outlook Calendar and
Tasks:

1) I have several schedules in different Excel files that I need to
export. I need to run the exporter from each file everyday to keep my
Calendar up to date. How can I have the macro erase all items from the
Outlook Calendar with a given address before it exports my dates? In
other words: I run the Macro; it scans the outlook calendar and erases
all entries with an address of "123 Anywhere St"; then it scans my list
of dates and copies them to the Calendar. I already have the part
written that scans my list of dates and copies them to Excel, it's just
the erasing part I need help with. Also, how would I have Excel erase
all events in Tasks with a given property?

2) in cell A1 i have some text. in cell B1 i have a date. how do I
get Excel to display both the text and the date. I've tried:

Dim olDate As Range
Dim olText As Range
Set olDate = Sheet1.Cells.Item(1,"A")
Set olText = Sheet1.Cells.Item(1,"B")
..Subject= olDate + olText

hoping to get something like "some text 6/9/05" in the subject bar, but
everytime I do this i get a run time error. i've tried replacing the
date with text and it works just fine, and i've also tried just the
date cell and it works fine. the problem comes up when i try and
combine the date and text. both

Any help would be much appreciated. Thank you in advance.


--
littlegreenmen1
------------------------------------------------------------------------
littlegreenmen1's Profile: http://www.excelforum.com/member.php...o&userid=23978
View this thread: http://www.excelforum.com/showthread...hreadid=377906

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
Linking to Outlook Web Access Augustine864 Excel Discussion (Misc queries) 1 February 9th 09 05:35 PM
linking Excel to Outlook rdouglas Excel Worksheet Functions 0 February 11th 07 01:51 AM
linking excel to outlook jimbo Links and Linking in Excel 0 January 4th 06 10:24 AM
Linking Outlook & Excel Natalie Excel Discussion (Misc queries) 1 December 12th 05 06:08 PM
Outlook help and worksheet linking help amanda Excel Discussion (Misc queries) 1 May 4th 05 10:55 PM


All times are GMT +1. The time now is 08:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"