Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
littlegreenmen1
 
Posts: n/a
Default A couple of questions...


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=378206

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
Where can I post Macro questions? David Excel Worksheet Functions 4 May 25th 05 10:39 PM
Pivot Table for survey data w/ questions as Rows & poss answrs as pfwebadmin Excel Discussion (Misc queries) 0 May 17th 05 02:31 PM
Puzzling Format Questions Kevin H. Stecyk Excel Discussion (Misc queries) 3 May 17th 05 11:44 AM
Couple more questions... Poor microsoft user New Users to Excel 1 April 27th 05 03:20 PM
New user with a couple of questions.... B Craig Excel Discussion (Misc queries) 6 February 11th 05 10:15 PM


All times are GMT +1. The time now is 02:58 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"