Hi All,
I want to use Excel to send appointments onto MS Outlook after people in my company have submitted their travel authorization report (to block the time they will be away, on their calendar , using the departure date and back-in-the- office date.)
I am sorry if this is an old subject but I have looked at previous solutions suggested on this message board and other parts of the internet, but Excel's VBA compiler has rejected all the codes I tried mainly because of "user-defined type not defined" error messages...in statements such as:
Dim myOlApp As Outlook.Application
Dim myItem As Outlook.AppointmentItem
I also got error message such as "Run-time error, Object doesn't support this property or method" when I tried this statement:
.Location = Sheets("Sheet1").Range("A2")
----
I would very much appreciate your help on this.
Note: I have Excel 2003, Outlook 2003, and an XP machine.
Thanks in advance!
I want to use Excel to send appointments onto MS Outlook after people in my company have submitted their travel authorization report (to block the time they will be away, on their calendar , using the departure date and back-in-the- office date.)
I am sorry if this is an old subject but I have looked at previous solutions suggested on this message board and other parts of the internet, but Excel's VBA compiler has rejected all the codes I tried mainly because of "user-defined type not defined" error messages...in statements such as:
Dim myOlApp As Outlook.Application
Dim myItem As Outlook.AppointmentItem

.Location = Sheets("Sheet1").Range("A2")
----
I would very much appreciate your help on this.
Note: I have Excel 2003, Outlook 2003, and an XP machine.
Thanks in advance!
