All,
I'm in a bit deep here.
I have the following data:
I would like to have the information transferred to a manager's Outlook Appointments.
It will be controlled by a button on a user form.
Firstly it needs to identify the manager (this I can do from their username)
Next I would like each Item to be added to Outlook?!!
The information would be:
Fullname & " Holiday" = Subject
DateOfHoliday = Date in calender
From = Start Time in Calender
To = End Time in Calender
I also need to label it i.e. Vacation and colour the item (not super doopy important! but a wish)
How?
Also, I will eventually have 1,000's of items, is this going to be a slow process?
Might it be better to sort the data and export a CSV then import from Outlook (via Excel code)
Here is another problem.
My data also has another column (Cancelled)
How could I then delete any items from Outlook which have been cancelled? 1 or 0 (1 being Cancelled)
Any ideas, anything for even a step, nay leap towards the right direction.
Kindest regards
I'm in a bit deep here.
I have the following data:
Book1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Pid | FullName | DateRequested | TimeRequested | DateOfHoliday | From | To | Manager | ||
2 | 6074114 | IanMac | 26/01/2004 | 23:32 | 02/02/2004 | 17:00 | 22:00 | Man1 | ||
3 | 6074114 | IanMac | 26/01/2004 | 23:32 | 03/02/2004 | 17:00 | 22:00 | Man1 | ||
4 | 6074114 | IanMac | 26/01/2004 | 23:32 | 04/02/2004 | 17:00 | 22:00 | Man1 | ||
5 | 6074114 | IanMac | 26/01/2004 | 23:32 | 05/02/2004 | 17:00 | 22:00 | Man1 | ||
6 | 6074114 | IanMac | 26/01/2004 | 23:32 | 23/05/2004 | 19:00 | 22:00 | Man1 | ||
7 | 6198766 | JaneDoe | 26/01/2004 | 23:32 | 14/05/2004 | 17:00 | 22:00 | Man2 | ||
8 | 6198766 | JaneDoe | 26/01/2004 | 23:32 | 15/05/2004 | 17:00 | 22:00 | Man2 | ||
9 | 6198766 | JaneDoe | 26/01/2004 | 23:32 | 16/05/2004 | 17:00 | 22:00 | Man2 | ||
10 | 6543256 | JimmyJones | 26/01/2004 | 23:32 | 01/04/2004 | 17:00 | 18:00 | Man1 | ||
11 | 6074114 | IanMac | 26/01/2004 | 23:32 | 29/09/2004 | 17:00 | 22:00 | Man1 | ||
12 | 6074114 | IanMac | 26/01/2004 | 23:32 | 30/09/2004 | 17:00 | 22:00 | Man1 | ||
Sheet1 |
I would like to have the information transferred to a manager's Outlook Appointments.
It will be controlled by a button on a user form.
Firstly it needs to identify the manager (this I can do from their username)
Next I would like each Item to be added to Outlook?!!
The information would be:
Fullname & " Holiday" = Subject
DateOfHoliday = Date in calender
From = Start Time in Calender
To = End Time in Calender
I also need to label it i.e. Vacation and colour the item (not super doopy important! but a wish)
How?
Also, I will eventually have 1,000's of items, is this going to be a slow process?
Might it be better to sort the data and export a CSV then import from Outlook (via Excel code)
Here is another problem.
My data also has another column (Cancelled)
How could I then delete any items from Outlook which have been cancelled? 1 or 0 (1 being Cancelled)
Any ideas, anything for even a step, nay leap towards the right direction.
Kindest regards